[FFmpeg-cvslog] lavfi/colormatrix: 10l fix forgotten buffer unref.

Clément Bœsch git at videolan.org
Thu Nov 29 02:21:57 CET 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Thu Nov 29 02:21:16 2012 +0100| [502ecc9cc2322687f3dec51f72a4b8c5d70a169f] | committer: Clément Bœsch

lavfi/colormatrix: 10l fix forgotten buffer unref.

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

 libavfilter/vf_colormatrix.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c
index ff7b9e0..571b9d4 100644
--- a/libavfilter/vf_colormatrix.c
+++ b/libavfilter/vf_colormatrix.c
@@ -353,6 +353,7 @@ static int filter_frame(AVFilterLink *link, AVFilterBufferRef *in)
     else
         process_frame_uyvy422(color, out, in);
 
+    avfilter_unref_bufferp(&in);
     return ff_filter_frame(outlink, out);
 }
 



More information about the ffmpeg-cvslog mailing list