mjpegenc: add a limit for maximum supported resolution
authorPiotr Bandurski <ami_stuff@o2.pl>
Thu, 31 May 2012 11:49:00 +0000 (13:49 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 31 May 2012 14:57:47 +0000 (16:57 +0200)
commitd2581dcca6abe74e3fbf44df815194a6aea71bd6
treece4edad14934f0cecc3576c11d6a4a2582dfbb12
parent320e537baf241ccfa5187f2c7cdd758e74d88d4d
mjpegenc: add a limit for maximum supported resolution

jpeg does not allow more than 65000 pixels for width and height

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mjpegenc.c