[FFmpeg-devel] [PATCH] gifdec: drop pointless casting

Piotr Bandurski ami_stuff at o2.pl
Thu Dec 20 20:06:11 CET 2012


Hi,

> - if( (unsigned)s->screen_width > 32767
> - || (unsigned)s->screen_height > 32767){
> + if (s->screen_width > 32767 ||
> + s->screen_height > 32767) {

Would removing this check be enough to support gifs up to 65535x65535?

Regards



More information about the ffmpeg-devel mailing list