[FFmpeg-cvslog] vf_mp: Fix large memleak.

Michael Niedermayer git at videolan.org
Wed Jun 15 01:38:21 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jun 15 01:36:12 2011 +0200| [9e2f448d68d9df7ad79d968db315c6b0cc79c4df] | committer: Michael Niedermayer

vf_mp: Fix large memleak.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9e2f448d68d9df7ad79d968db315c6b0cc79c4df
---

 libavfilter/vf_mp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/vf_mp.c b/libavfilter/vf_mp.c
index 01a8f06..0642b44 100644
--- a/libavfilter/vf_mp.c
+++ b/libavfilter/vf_mp.c
@@ -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 = {



More information about the ffmpeg-cvslog mailing list