mirror of https://git.ffmpeg.org/ffmpeg.git
jpeg2kdec: output is native endian AV_PIX_FMT_XYZ12
This commit is contained in:
parent
94660c3524
commit
10f1a4d9bd
|
@ -212,7 +212,7 @@ static int get_siz(Jpeg2000DecoderContext *s)
|
||||||
case FF_PROFILE_JPEG2000_DCINEMA_2K:
|
case FF_PROFILE_JPEG2000_DCINEMA_2K:
|
||||||
case FF_PROFILE_JPEG2000_DCINEMA_4K:
|
case FF_PROFILE_JPEG2000_DCINEMA_4K:
|
||||||
/* XYZ color-space for digital cinema profiles */
|
/* XYZ color-space for digital cinema profiles */
|
||||||
s->avctx->pix_fmt = AV_PIX_FMT_XYZ12LE;
|
s->avctx->pix_fmt = AV_PIX_FMT_XYZ12;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* For other profiles selects color-space according number of
|
/* For other profiles selects color-space according number of
|
||||||
|
|
Loading…
Reference in New Issue