Skip to content
Snippets Groups Projects
Commit 10f1a4d9 authored by Janne Grunau's avatar Janne Grunau
Browse files

jpeg2kdec: output is native endian AV_PIX_FMT_XYZ12

parent 94660c35
No related branches found
No related tags found
No related merge requests found
...@@ -212,7 +212,7 @@ static int get_siz(Jpeg2000DecoderContext *s) ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment