diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:08:56 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:08:56 +0100 |
commit | c0be4ea0f2572fa70a07b2f068fa26551803d149 (patch) | |
tree | 98251775ef4bc355e53fbd457b45a930dc267512 | |
parent | f628134e776734462bec5c303b64a2385af814f0 (diff) | |
download | ffmpeg-c0be4ea0f2572fa70a07b2f068fa26551803d149.tar.gz |
Set Electronic Arts TGV palette opaque.
-rw-r--r-- | libavcodec/eatgv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/eatgv.c b/libavcodec/eatgv.c index 5559dc949f..91ae94c46a 100644 --- a/libavcodec/eatgv.c +++ b/libavcodec/eatgv.c @@ -278,7 +278,7 @@ static int tgv_decode_frame(AVCodecContext *avctx, pal_count = AV_RL16(&buf[6]); buf += 12; for(i=0; i<pal_count && i<AVPALETTE_COUNT && buf_end - buf >= 3; i++) { - s->palette[i] = AV_RB24(buf); + s->palette[i] = 0xFF << 24 | AV_RB24(buf); buf += 3; } } |