aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/4xm.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-01-07 22:33:26 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-01-07 22:33:26 +0000
commit59043195d49dc06d65511d81470487cdce9cbae5 (patch)
tree4f78c3847597c55359054e229f114b2833b70907 /libavcodec/4xm.c
parent99c5f5ccbefba0caa39020e58bcb458e107f8e89 (diff)
downloadffmpeg-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.c2
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;
}