[FFmpeg-devel] [PATCH]lavf/img2dec: Skip SOF size when probing jpeg

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Feb 26 09:57:44 CET 2016


Michael Niedermayer <michael <at> niedermayer.cc> writes:

> >          case 0xC1:
> >          case 0xC2:
> >          case 0xC3:
> > +            i += AV_RB16(&b[i + 2]) + 1;
> >          case 0xC5:
> >          case 0xC6:
> >          case 0xC7:
> 
> shouldnt this also be done for these 3?

Done, I used the decoder as spec that does not support 
hierarchical jpeg.

Carl Eugen



More information about the ffmpeg-devel mailing list