diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-13 14:42:22 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-13 14:42:22 +0100 |
commit | 2b656844f871464013d9629b7858a199ddc5678e (patch) | |
tree | 3c55580b74deb3cd4149b2247bbff55f810daa47 | |
parent | 942e9be5d74eff7f2ae216aae051e8bbe563e127 (diff) | |
download | ffmpeg-2b656844f871464013d9629b7858a199ddc5678e.tar.gz |
Increase eXtended BINary text palette dynamics.
-rw-r--r-- | libavcodec/bintext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bintext.c b/libavcodec/bintext.c index 947be396b8..df37feea12 100644 --- a/libavcodec/bintext.c +++ b/libavcodec/bintext.c @@ -61,7 +61,7 @@ static av_cold int decode_init(AVCodecContext *avctx) if ((s->flags & BINTEXT_PALETTE)) { for (i = 0; i < 16; i++) { - s->palette[i] = 0xFF000000 | (AV_RB24(p) << 2); + s->palette[i] = 0xFF000000 | (AV_RB24(p) << 2) | ((AV_RB24(p) >> 4) & 0x30303); p += 3; } } else { |