vf_mp: Fix large memleak.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 14 Jun 2011 23:36:12 +0000 (01:36 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 14 Jun 2011 23:36:12 +0000 (01:36 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_mp.c

index 01a8f06..0642b44 100644 (file)
@@ -882,7 +882,7 @@ static void end_frame(AVFilterLink *inlink)
     }
     free_mp_image(mpi);
 
-//    avfilter_unref_buffer(inpic);
+    avfilter_unref_buffer(inpic);
 }
 
 AVFilter avfilter_vf_mp = {