jpeg2kdec: output is native endian AV_PIX_FMT_XYZ12
authorJanne Grunau <janne-libav@jannau.net>
Mon, 22 Apr 2013 14:08:03 +0000 (16:08 +0200)
committerJanne Grunau <janne-libav@jannau.net>
Mon, 22 Apr 2013 15:11:21 +0000 (17:11 +0200)
libavcodec/jpeg2000dec.c

index 7b69c02..eaad80c 100644 (file)
@@ -212,7 +212,7 @@ static int get_siz(Jpeg2000DecoderContext *s)
     case FF_PROFILE_JPEG2000_DCINEMA_2K:
     case FF_PROFILE_JPEG2000_DCINEMA_4K:
         /* XYZ color-space for digital cinema profiles */
-        s->avctx->pix_fmt = AV_PIX_FMT_XYZ12LE;
+        s->avctx->pix_fmt = AV_PIX_FMT_XYZ12;
         break;
     default:
         /* For other profiles selects color-space according number of