changeset 10757:9de8bd6b4ca4 libavcodec

Fix colourspace for 16 bit raw video in mov, fixes issue 1527 on big-endian.
author cehoyos
date Thu, 31 Dec 2009 01:08:10 +0000
parents d2c1c2f835b7
children f108c5d10793
files rawdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rawdec.c	Wed Dec 30 22:58:49 2009 +0000
+++ b/rawdec.c	Thu Dec 31 01:08:10 2009 +0000
@@ -51,7 +51,7 @@
     { PIX_FMT_PAL8,      8 },
     // FIXME swscale does not support 16 bit in .mov, sample 16bit.mov
     // http://developer.apple.com/documentation/QuickTime/QTFF/QTFFChap3/qtff3.html
-    { PIX_FMT_BGR555,   16 },
+    { PIX_FMT_RGB555BE, 16 },
     { PIX_FMT_RGB24,    24 },
     { PIX_FMT_ARGB,     32 },
     { PIX_FMT_NONE, 0 },