[FFmpeg-cvslog] vf_overlay: use unref_bufferP()

Michael Niedermayer git at videolan.org
Sat Jul 21 22:32:09 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jul 21 21:59:46 2012 +0200| [0ecaa447f6ca10f5aec940b1b39013ff00c239db] | committer: Michael Niedermayer

vf_overlay: use unref_bufferP()

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

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

 libavfilter/vf_overlay.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c
index a3a9cc2..0ce344b 100644
--- a/libavfilter/vf_overlay.c
+++ b/libavfilter/vf_overlay.c
@@ -146,7 +146,7 @@ static av_cold void uninit(AVFilterContext *ctx)
     av_freep(&over->y_expr);
 
     if (over->overpicref)
-        avfilter_unref_buffer(over->overpicref);
+        avfilter_unref_bufferp(&over->overpicref);
     ff_bufqueue_discard_all(&over->queue_main);
     ff_bufqueue_discard_all(&over->queue_over);
 }



More information about the ffmpeg-cvslog mailing list