[FFmpeg-devel] [PATCH]Fix libopenjpeg adjust for 8<bpp<16

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Jan 10 14:10:30 CET 2014


Michael Bradshaw <mjbshaw <at> gmail.com> writes:

> > -        adjust[x] = FFMAX(FFMIN(16 - image->comps[x].prec, 8), 0);
> > +        adjust[x] =
> FFMAX(FFMIN(av_pix_fmt_desc_get(picture->format)->comp[x].depth_minus1 + 1
> - image->comps[x].prec, 8), 0);

> Seems ok

Merged by Michael

> but I can't test the sample from #3284

The sample is in http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket3284/

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list