Browse Source

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.
tags/n1.0
Anton Khirnov 13 years ago
parent
commit
51a8049be8
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/vf_aspect.c

+ 1
- 0
libavfilter/vf_aspect.c View File

@@ -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);
}



Loading…
Cancel
Save