ffmpegdec.cpp fix memleak

This commit is contained in:
Jacek Jendrzej
2020-01-05 14:57:42 +01:00
parent 2d5a1c9e29
commit 30dbfb7ec9
2 changed files with 26 additions and 22 deletions

View File

@@ -55,6 +55,8 @@ private:
unsigned char *buffer;
AVFormatContext *avc;
AVCodec *codec;
AVCodecContext *c;
AVIOContext *avioc;
int best_stream;
void *in;
bool Init(void *_in, const CFile::FileType ft);