Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-13 17:42:22 +0400
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-13 17:42:22 +0400
commit2b656844f871464013d9629b7858a199ddc5678e (patch)
tree3c55580b74deb3cd4149b2247bbff55f810daa47 /libavcodec/bintext.c
parent942e9be5d74eff7f2ae216aae051e8bbe563e127 (diff)
Increase eXtended BINary text palette dynamics.
Diffstat (limited to 'libavcodec/bintext.c')
-rw-r--r--libavcodec/bintext.c2
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 {