1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

vf_overlay: use unref_bufferP()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-07-21 21:59:46 +02:00
parent dc49105c7f
commit 0ecaa447f6

View 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);
}