ffmpegdecoder: fixed memory leak introduced by switch to AVFilter backend

This commit is contained in:
itsmattkc
2021-05-13 21:30:53 +10:00
parent 5fb9793f43
commit 51b3d974c5
+1
View File
@@ -694,6 +694,7 @@ FFmpegFramePool::ElementPtr FFmpegDecoder::RetrieveFrame(const rational& time, c
while (true) {
// Pull from the decoder
av_frame_unref(working_frame);
ret = GetFilteredFrame(pkt, working_frame, params);
// Handle any errors that aren't EOF (EOF is handled later on)