diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-07-15 10:12:51 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-07-22 09:14:05 +0200 |
commit | 02ac7311c8f1f252398b57b54992756c95f77962 (patch) | |
tree | 790402cd02d9c4572b05efeb73bf474aadd3f359 /libavfilter/vf_overlay.c | |
parent | 043800a96888f1a04732f12316ba477d8f098d3f (diff) |
lavfi: use avfilter_unref_bufferp() where appropriate.
Diffstat (limited to 'libavfilter/vf_overlay.c')
-rw-r--r-- | libavfilter/vf_overlay.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index a0c423de26..951ea7a4f6 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf_overlay.c @@ -88,8 +88,7 @@ static av_cold void uninit(AVFilterContext *ctx) { OverlayContext *over = ctx->priv; - if (over->overpicref) - avfilter_unref_buffer(over->overpicref); + avfilter_unref_bufferp(&over->overpicref); } static int query_formats(AVFilterContext *ctx) |