[FFmpeg-devel] [PATCH]Accept j2k colourspaces with 1-7 and 9-15 bpp
Paul B Mahol
onemda at gmail.com
Mon May 7 11:04:57 CEST 2012
On 5/7/12, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Only tested with the sample from ticket #1279 (that, iiuc, should be
> decoded incorrectly with the patch) and it looks like a conversion with
> Should I add the following in libopenjpeg_decode_frame()?
> avctx->bits_per_raw_sample = image->comps.prec;
Nope, because there may be multiple comps, so you need to sum them all.....
More information about the ffmpeg-devel