mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
Cosmetics: Increase readability.
This commit is contained in:
parent
eb664d4ae3
commit
9117592549
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ static int decode_frame(AVCodecContext *avctx,
|
|||
if (buf < buf_end) {
|
||||
for (i = 0; i < AVPALETTE_COUNT && buf + 3 <= buf_end; i++) {
|
||||
uint32_t pal = AV_RB24(buf);
|
||||
s->palette[i] = 0xFF << 24 | pal << 2 | pal >> 4 & 0x30303;
|
||||
s->palette[i] = 0xFF << 24 | pal << 2 | ((pal >> 4) & 0x30303);
|
||||
buf += 3;
|
||||
}
|
||||
s->palette_has_changed = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue