mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
vf_overlay: use unref_bufferP()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
dc49105c7f
commit
0ecaa447f6
@ -146,7 +146,7 @@ static av_cold void uninit(AVFilterContext *ctx)
|
|||||||
av_freep(&over->y_expr);
|
av_freep(&over->y_expr);
|
||||||
|
|
||||||
if (over->overpicref)
|
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_main);
|
||||||
ff_bufqueue_discard_all(&over->queue_over);
|
ff_bufqueue_discard_all(&over->queue_over);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user