Browse Source

Fix red/blue swap for 4xa files.

Originally committed as revision 21070 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Carl Eugen Hoyos 16 years ago
parent
commit
59043195d4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/4xm.c

+ 1
- 1
libavcodec/4xm.c View File

@@ -815,7 +815,7 @@ static av_cold int decode_init(AVCodecContext *avctx){
init_vlcs(f);

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;
}


Loading…
Cancel
Save