aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-07-11 09:58:43 +0200
committerAnton Khirnov <anton@khirnov.net>2012-07-20 21:06:40 +0200
commit51a8049be8be096b50a1613d65433f9c7949e1a2 (patch)
tree6551e3e7a4c038f93109061b6f9857c0696c8836 /libavfilter
parentb70d89a033dacf53758256f875f1b23ce0ae13f1 (diff)
downloadffmpeg-51a8049be8be096b50a1613d65433f9c7949e1a2.tar.gz
vf_aspect: clear AVFilterLink.cur_buf in start_frame().
The buffer is passed on to the next filter, so we shouldn't keep any pointers to it.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_aspect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_aspect.c b/libavfilter/vf_aspect.c
index 4b58e5ea47..1bedd519c3 100644
--- a/libavfilter/vf_aspect.c
+++ b/libavfilter/vf_aspect.c
@@ -69,6 +69,7 @@ static void start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
AspectContext *aspect = link->dst->priv;
picref->video->pixel_aspect = aspect->aspect;
+ link->cur_buf = NULL;
ff_start_frame(link->dst->outputs[0], picref);
}