From 0ecaa447f6ca10f5aec940b1b39013ff00c239db Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 21 Jul 2012 21:59:46 +0200 Subject: [PATCH] vf_overlay: use unref_bufferP() Signed-off-by: Michael Niedermayer --- 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 a3a9cc275c..0ce344b2c5 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); }