[FFmpeg-cvslog] Fix some avi rawvideo formats on big endian.

Carl Eugen Hoyos git at videolan.org
Sun Jan 27 22:53:38 CET 2013


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun Jan 27 22:49:48 2013 +0100| [a6a510165448a968a0e9a37e04355b0fcc6c8793] | committer: Carl Eugen Hoyos

Fix some avi rawvideo formats on big endian.

Fixes ticket #2196.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a6a510165448a968a0e9a37e04355b0fcc6c8793
---

 libavcodec/rawdec.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index 2d52647..a8b70ee 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 },



More information about the ffmpeg-cvslog mailing list