[FFmpeg-cvslog] Set Tiertex Limited SEQ palette opaque.
Carl Eugen Hoyos
git at videolan.org
Sat Nov 12 20:57:03 CET 2011
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Nov 12 20:19:07 2011 +0100| [fd09cd08c0ad059ee41ccafc6836a285c1b35c45] | committer: Carl Eugen Hoyos
Set Tiertex Limited SEQ palette opaque.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fd09cd08c0ad059ee41ccafc6836a285c1b35c45
---
libavcodec/tiertexseqv.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/tiertexseqv.c b/libavcodec/tiertexseqv.c
index 44ae10e..e8abcd9 100644
--- a/libavcodec/tiertexseqv.c
+++ b/libavcodec/tiertexseqv.c
@@ -178,7 +178,7 @@ static int seqvideo_decode(SeqVideoContext *seq, const unsigned char *data, int
for (i = 0; i < 256; i++) {
for (j = 0; j < 3; j++, data++)
c[j] = (*data << 2) | (*data >> 4);
- palette[i] = AV_RB24(c);
+ palette[i] = 0xFF << 24 | AV_RB24(c);
}
seq->frame.palette_has_changed = 1;
}
More information about the ffmpeg-cvslog
mailing list