[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec imgconvert.c,1.64,1.65
Reimar Döffinger CVS
reimar
Wed Apr 19 21:51:58 CEST 2006
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv21662
Modified Files:
imgconvert.c
Log Message:
make "size" variable in avpicture_alloc signed, since avpicture_get_size
returns -1 on error which was not detected with previous code.
Index: imgconvert.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/imgconvert.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- imgconvert.c 10 Apr 2006 07:45:29 -0000 1.64
+++ imgconvert.c 19 Apr 2006 19:51:56 -0000 1.65
@@ -1944,7 +1944,7 @@
int avpicture_alloc(AVPicture *picture,
int pix_fmt, int width, int height)
{
- unsigned int size;
+ int size;
void *ptr;
size = avpicture_get_size(pix_fmt, width, height);
More information about the ffmpeg-cvslog
mailing list