diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-07-11 11:58:43 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-07-20 23:06:40 +0400 |
commit | 51a8049be8be096b50a1613d65433f9c7949e1a2 (patch) | |
tree | 6551e3e7a4c038f93109061b6f9857c0696c8836 /libavfilter | |
parent | b70d89a033dacf53758256f875f1b23ce0ae13f1 (diff) |
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.c | 1 |
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); } |