[FFmpeg-devel] [PATCH]Accept j2k colourspaces with 1-7 and 9-15 bpp

Carl Eugen Hoyos cehoyos at ag.or.at
Mon May 7 13:19:11 CEST 2012

Paul B Mahol <onemda <at> gmail.com> writes:

> > Should I add the following in libopenjpeg_decode_frame()?
> > avctx->bits_per_raw_sample = image->comps[0].prec;
> >
> Nope, because there may be multiple comps, so you need to sum them all.....

Looking at encode_init() in ffv1.c, this seems unlikely.

Carl Eugen

More information about the ffmpeg-devel mailing list