[Ffmpeg-devel] [PATCH] avpicture_get_size negative return value not caught
Michael Niedermayer
michaelni
Wed Apr 19 19:26:21 CEST 2006
Hi
On Wed, Apr 19, 2006 at 05:03:21PM +0200, Reimar D?ffinger wrote:
> Hello,
> seems obvious, but since I usually miss something...
> libavcodec/imgconvert.c, avpicture_alloc line 1950,
> avpicture_get_size returns -1 on error, but this will not be noticed due
> to size being declared as unsigned. Have not encountered a case where
> this causes problems, but still.
> Attached patch okay?
ive no objections ...
[...]
--
Michael
In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is
More information about the ffmpeg-devel
mailing list