Commit ce508179 authored by cehoyos's avatar cehoyos

Fix red/blue swap for 4xa files.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21070 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3fe99b0a
...@@ -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