diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-01-07 22:33:26 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-01-07 22:33:26 +0000 |
commit | 59043195d49dc06d65511d81470487cdce9cbae5 (patch) | |
tree | 4f78c3847597c55359054e229f114b2833b70907 /libavcodec/4xm.c | |
parent | 99c5f5ccbefba0caa39020e58bcb458e107f8e89 (diff) | |
download | ffmpeg-59043195d49dc06d65511d81470487cdce9cbae5.tar.gz |
Fix red/blue swap for 4xa files.
Originally committed as revision 21070 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/4xm.c')
-rw-r--r-- | libavcodec/4xm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c index d2172ba256..74f2523758 100644 --- a/libavcodec/4xm.c +++ b/libavcodec/4xm.c @@ -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; } |