1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

vf_libvmaf: Fix memory leak

Fixes ticket #6967
This commit is contained in:
enctac 2018-03-26 01:44:49 +09:00 committed by Kyle Swanson
parent 35eeff30ca
commit be502ec6cd

View File

@ -130,6 +130,8 @@ FRAMESYNC_DEFINE_CLASS(libvmaf, LIBVMAFContext, fs);
\
ret = !s->frame_set; \
\
av_frame_unref(s->gref); \
av_frame_unref(s->gmain); \
s->frame_set = 0; \
\
pthread_cond_signal(&s->cond); \