Commit 91175925 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Cosmetics: Increase readability.

parent eb664d4a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment