make "size" variable in avpicture_alloc signed, since avpicture_get_size
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 19 Apr 2006 19:51:56 +0000 (19:51 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 19 Apr 2006 19:51:56 +0000 (19:51 +0000)
commit2d5545c30206f3c84bb2cdd7df70bb290ffb4158
tree1ebfa3f4d0a5741dc8d7868bd691f68d115fa719
parent3cb4ee51245c806fd840f7ec32c7a3c50a808839
make "size" variable in avpicture_alloc signed, since avpicture_get_size
returns -1 on error which was not detected with previous code.

Originally committed as revision 5304 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/imgconvert.c