[FFmpeg-cvslog] aasc: fix 16bpp on big-endian

Piotr Bandurski git at videolan.org
Tue Feb 5 17:01:14 CET 2013


ffmpeg | branch: release/1.1 | Piotr Bandurski <ami_stuff at o2.pl> | Mon Jan 28 03:42:07 2013 +0100| [22561bc0e963cf75c20fb8efd846a343e807dfef] | committer: Michael Niedermayer

aasc: fix 16bpp on big-endian

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/aasc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c
index 0d4704f..245951a 100644
--- a/libavcodec/aasc.c
+++ b/libavcodec/aasc.c
@@ -60,7 +60,7 @@ static av_cold int aasc_decode_init(AVCodecContext *avctx)
         }
         break;
     case 16:
-        avctx->pix_fmt = AV_PIX_FMT_RGB555;
+        avctx->pix_fmt = AV_PIX_FMT_RGB555LE;
         break;
     case 24:
         avctx->pix_fmt = AV_PIX_FMT_BGR24;



More information about the ffmpeg-cvslog mailing list