[FFmpeg-devel] [PATCH]Avoid overflows when reading pgm with maxval != 255 and 65535

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jul 29 00:47:39 CEST 2013


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > Note that it was always quite difficult to use 
> > libjpeg to produce such files (neither distribution 
> > nor standard compilation ever allowed it).
> 
> if such files couldnt be generated easily then it 
> probably isnt worth to add a workaround.
> I assume you build libjpeg yourself to make such files ?

Yes, you have to edit two config files after running 
configure (and the resulting binary only supports 12 
bit jpeg, not 8 bit).

Carl Eugen



More information about the ffmpeg-devel mailing list