[FFmpeg-devel] [PATCH 1/4] lavf: add write_uncoded_frame() API.

Nicolas George george at nsup.org
Sat Jan 4 17:12:42 CET 2014

Le quintidi 15 nivôse, an CCXXII, Michael Niedermayer a écrit :
> what about negative values ?
> these, at least currently should fail at av_malloc() before copying
> happens

It works, and it allowed me to find two bugs (one in my patch; the other
existing, patch incoming).

I guess the absurdly large case would have given exactly the same result,
as the negative value is cast to size_t, which is unsigned.

I will address the other comments and submit a new patch set at some point.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140104/6a29dba9/attachment.asc>

More information about the ffmpeg-devel mailing list