Commit 59043195 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Fix red/blue swap for 4xa files.

Originally committed as revision 21070 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 99c5f5cc
...@@ -815,7 +815,7 @@ static av_cold int decode_init(AVCodecContext *avctx){ ...@@ -815,7 +815,7 @@ static av_cold int decode_init(AVCodecContext *avctx){
init_vlcs(f); init_vlcs(f);
if(f->version>2) avctx->pix_fmt= PIX_FMT_RGB565; if(f->version>2) avctx->pix_fmt= PIX_FMT_RGB565;
else avctx->pix_fmt= PIX_FMT_RGB555; else avctx->pix_fmt= PIX_FMT_BGR555;
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment