aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rawdec.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-01-27 22:49:48 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-01-27 22:49:48 +0100
commita6a510165448a968a0e9a37e04355b0fcc6c8793 (patch)
tree2b160bb619c996a7c9365061b2c8e05bc1bcd5de /libavcodec/rawdec.c
parentdeefdf9788467edd262b9c29a4f6e33d2ae84b8c (diff)
downloadffmpeg-a6a510165448a968a0e9a37e04355b0fcc6c8793.tar.gz
Fix some avi rawvideo formats on big endian.
Fixes ticket #2196.
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r--libavcodec/rawdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index 2d526478f3..a8b70eeb69 100644
--- a/libavcodec/rawdec.c
+++ b/libavcodec/rawdec.c
@@ -58,9 +58,9 @@ static const PixelFormatTag pix_fmt_bps_avi[] = {
{ AV_PIX_FMT_PAL8, 2 },
{ AV_PIX_FMT_PAL8, 4 },
{ AV_PIX_FMT_PAL8, 8 },
- { AV_PIX_FMT_RGB444, 12 },
- { AV_PIX_FMT_RGB555, 15 },
- { AV_PIX_FMT_RGB555, 16 },
+ { AV_PIX_FMT_RGB444LE, 12 },
+ { AV_PIX_FMT_RGB555LE, 15 },
+ { AV_PIX_FMT_RGB555LE, 16 },
{ AV_PIX_FMT_BGR24, 24 },
{ AV_PIX_FMT_BGRA, 32 },
{ AV_PIX_FMT_NONE, 0 },