summaryrefslogtreecommitdiff
path: root/libavcodec/yop.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/yop.c')
-rw-r--r--libavcodec/yop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/yop.c b/libavcodec/yop.c
index 3e27c1fe27..21036284b2 100644
--- a/libavcodec/yop.c
+++ b/libavcodec/yop.c
@@ -235,7 +235,7 @@ static int yop_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
palette[i + firstcolor] = (s->srcptr[0] << 18) |
(s->srcptr[1] << 10) |
(s->srcptr[2] << 2);
- palette[i + firstcolor] |= 0xFF << 24 |
+ palette[i + firstcolor] |= 0xFFU << 24 |
(palette[i + firstcolor] >> 6) & 0x30303;
}