[FFmpeg-cvslog] r16966 - trunk/libavformat/aiff.c

Reimar Döffinger Reimar.Doeffinger
Tue Feb 3 01:43:03 CET 2009


On Tue, Feb 03, 2009 at 01:24:41AM +0100, Aurelien Jacobs wrote:
> Baptiste Coudurier wrote:
> > What if I want to write my lyrics in there ? :>
> 
> Then you would probably need a bit more than 1024 bytes...
> If you think it's useful, I will av_malloc() the buffer,
> but I still need to set some limit. Would a 1MB limit
> be reasonable enough ?

Why do you need a limit? Check if the malloc failed.
Or if integer overflows might be a problem check for
(int)size > 0.




More information about the ffmpeg-cvslog mailing list