Browse Source

vf_libvmaf: Fix memory leak

Fixes ticket #6967
tags/n4.0
enctac Kyle Swanson 8 years ago
parent
commit
be502ec6cd
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavfilter/vf_libvmaf.c

+ 2
- 0
libavfilter/vf_libvmaf.c 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); \


Loading…
Cancel
Save