diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:21:07 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:21:07 +0100 |
commit | e9a2ffa117f560c0899c7a3bb373e908ae03d285 (patch) | |
tree | 9004cb4f6ad84bea32d865d3afe797ace282682e | |
parent | 3b5733bcf992158d2594d73df672a0c9ca2d6b44 (diff) | |
download | ffmpeg-e9a2ffa117f560c0899c7a3bb373e908ae03d285.tar.gz |
Set Beam Software VB palette opaque.
-rw-r--r-- | libavcodec/vb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vb.c b/libavcodec/vb.c index 956d6568b3..d66c47b976 100644 --- a/libavcodec/vb.c +++ b/libavcodec/vb.c @@ -73,7 +73,7 @@ static void vb_decode_palette(VBDecContext *c, int data_size) return; } for(i = start; i <= start + size; i++) - c->pal[i] = bytestream_get_be24(&c->stream); + c->pal[i] = 0xFF << 24 | bytestream_get_be24(&c->stream); } static inline int check_pixel(uint8_t *buf, uint8_t *start, uint8_t *end) |