[FFmpeg-devel] [PATCH 3/3] Make avfilter_start_frame() invoke avfilter_get_video_buffer() on the link rather than use avfilter_default_get_video_buffer().

Stefano Sabatini stefano.sabatini-lala
Tue Aug 24 10:38:46 CEST 2010


On date Tuesday 2010-08-24 00:05:27 +0200, Michael Niedermayer encoded:
> On Sat, Aug 21, 2010 at 12:50:26AM +0200, Stefano Sabatini wrote:
> > This is required as the buffer requested may be greater than the
> > buffer allocated locally by avfilter_default_get_video_buffer(), for
> > example if in filterchain there is a pad filter.
> > 
> > In that case the pad filter will try to write beyond the data of the
> > allocated buffer, resulting in a crash.
> > ---
> >  libavfilter/avfilter.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> i hope this has no sideeffects ...
> but it looks ok at first

Applied.
-- 
FFmpeg = Fundamental Faithful Moronic Picky Exciting Game



More information about the ffmpeg-devel mailing list