this includes the range for quantized dct coefficients in dct_quantize() (-1023...1023)
Originally committed as revision 291 to svn://svn.ffmpeg.org/ffmpeg/trunk
/* mpeg1 */
minLevel= -255;
maxLevel= 255;
+ }else if(s->out_format==FMT_MJPEG){
+ /* (m)jpeg */
+ minLevel= -1023;
+ maxLevel= 1023;
}else{
/* h263 / msmpeg4 */
minLevel= -128;
/* mpeg1 */
minLevel= -255;
maxLevel= 255;
+ }else if(s->out_format==FMT_MJPEG){
+ /* (m)jpeg */
+ minLevel= -1023;
+ maxLevel= 1023;
}else{
/* h263 / msmpeg4 */
minLevel= -128;