comparison rawdec.c @ 10736:8a9b0b693a30 libavcodec

Use correct pixfmt for 32 bit raw in mov also on big-endian, fixes issue 1630.
author cehoyos
date Tue, 29 Dec 2009 11:53:51 +0000
parents 5198794511a4
children d2c1c2f835b7
comparison
equal deleted inserted replaced
10735:33e796162603 10736:8a9b0b693a30
50 { PIX_FMT_PAL8, 8 }, 50 { PIX_FMT_PAL8, 8 },
51 // FIXME swscale does not support 16 bit in .mov, sample 16bit.mov 51 // FIXME swscale does not support 16 bit in .mov, sample 16bit.mov
52 // http://developer.apple.com/documentation/QuickTime/QTFF/QTFFChap3/qtff3.html 52 // http://developer.apple.com/documentation/QuickTime/QTFF/QTFFChap3/qtff3.html
53 { PIX_FMT_BGR555, 16 }, 53 { PIX_FMT_BGR555, 16 },
54 { PIX_FMT_RGB24, 24 }, 54 { PIX_FMT_RGB24, 24 },
55 { PIX_FMT_BGR32_1, 32 }, 55 { PIX_FMT_ARGB, 32 },
56 { PIX_FMT_NONE, 0 }, 56 { PIX_FMT_NONE, 0 },
57 }; 57 };
58 58
59 static enum PixelFormat findPixelFormat(const PixelFormatTag *tags, unsigned int fourcc) 59 static enum PixelFormat findPixelFormat(const PixelFormatTag *tags, unsigned int fourcc)
60 { 60 {