[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().

Michael Niedermayer michaelni
Tue Aug 24 00:05:27 CEST 2010


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

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100824/93f78e01/attachment.pgp>



More information about the ffmpeg-devel mailing list