From a6a510165448a968a0e9a37e04355b0fcc6c8793 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 27 Jan 2013 22:49:48 +0100 Subject: [PATCH] Fix some avi rawvideo formats on big endian. Fixes ticket #2196. --- libavcodec/rawdec.c | 6 +++--- 1 file 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 },