aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vsrc_movie.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-07-15 10:12:51 +0200
committerAnton Khirnov <anton@khirnov.net>2012-07-22 09:14:05 +0200
commit02ac7311c8f1f252398b57b54992756c95f77962 (patch)
tree790402cd02d9c4572b05efeb73bf474aadd3f359 /libavfilter/vsrc_movie.c
parent043800a96888f1a04732f12316ba477d8f098d3f (diff)
downloadffmpeg-02ac7311c8f1f252398b57b54992756c95f77962.tar.gz
lavfi: use avfilter_unref_bufferp() where appropriate.
Diffstat (limited to 'libavfilter/vsrc_movie.c')
-rw-r--r--libavfilter/vsrc_movie.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c
index 1fb0495e82..b0f191fe8e 100644
--- a/libavfilter/vsrc_movie.c
+++ b/libavfilter/vsrc_movie.c
@@ -299,8 +299,7 @@ static int request_frame(AVFilterLink *outlink)
ret = ff_end_frame(outlink);
fail:
- avfilter_unref_buffer(movie->picref);
- movie->picref = NULL;
+ avfilter_unref_bufferp(&movie->picref);
return ret;
}