diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-10 17:30:11 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-10 17:36:47 +0300 |
commit | a4d17c9a706b2219c30657ce4d004337903a6c69 (patch) | |
tree | 48472723aa8365603b277600a8de53e73b0bb7d1 /libavcodec/truemotion1.c | |
parent | 67fe1a2b61a6d6723b3523c2bf698c6f48e8443a (diff) |
avcodec/truemotion1: use BGR0/0RGB
The alpha channel in the fate sample contains random trash, not alpha
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/truemotion1.c')
-rw-r--r-- | libavcodec/truemotion1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c index 14c964da38..921bc5a75e 100644 --- a/libavcodec/truemotion1.c +++ b/libavcodec/truemotion1.c @@ -396,7 +396,7 @@ static int truemotion1_decode_header(TrueMotion1Context *s) } if (compression_types[header.compression].algorithm == ALGO_RGB24H) { - new_pix_fmt = AV_PIX_FMT_RGB32; + new_pix_fmt = HAVE_BIGENDIAN ? AV_PIX_FMT_0RGB : AV_PIX_FMT_BGR0; width_shift = 1; } else new_pix_fmt = AV_PIX_FMT_RGB555; // RGB565 is supported as well |