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

Piotr Bandurski git at videolan.org
Mon Jan 28 12:34:35 CET 2013


ffmpeg | branch: master | Piotr Bandurski <ami_stuff at o2.pl> | Mon Jan 28 11:29:37 2013 +0000| [51e9d2dbc8f8e7aed216222a496cc7e588afa217] | committer: Paul B Mahol

aasc: fix 16bpp on big-endian

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

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

diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c
index 0861fae..1ddf2d9 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