vf_overlay: use unref_bufferP()
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Jul 2012 19:59:46 +0000 (21:59 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Jul 2012 20:17:53 +0000 (22:17 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_overlay.c

index a3a9cc2..0ce344b 100644 (file)
@@ -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);
 }