mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
Increase eXtended BINary text palette dynamics.
This commit is contained in:
parent
942e9be5d7
commit
2b656844f8
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user