Fix colourspace for 16 bit raw video in mov, fixes issue 1527 on big-endian.
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Thu, 31 Dec 2009 01:08:10 +0000 (01:08 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Thu, 31 Dec 2009 01:08:10 +0000 (01:08 +0000)
Originally committed as revision 20985 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/rawdec.c

index 458ac96..46a5de4 100644 (file)
@@ -51,7 +51,7 @@ static const PixelFormatTag pixelFormatBpsMOV[] = {
     { 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 },