aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/kmvc.c
diff options
context:
space:
mode:
authorMichael Niedermayer2012-10-14 03:17:13 +0200
committerMichael Niedermayer2012-10-14 03:26:31 +0200
commitb12d92efd6c0d48665383a9baecc13e7ebbd8a22 (patch)
tree2e1493948ffac773901d9d737fd0cd8b468d02f8 /libavcodec/kmvc.c
parentd3d715ff134555570d7e2c2aa15aad50f6c6fdbd (diff)
avoid "0xFF << 24" as it is considered a integer overflow in C99
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/kmvc.c')
-rw-r--r--libavcodec/kmvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/kmvc.c b/libavcodec/kmvc.c
index 59ae9f2672..34545947b2 100644
--- a/libavcodec/kmvc.c
+++ b/libavcodec/kmvc.c
@@ -389,7 +389,7 @@ static av_cold int decode_init(AVCodecContext * avctx)
c->prev = c->frm1;
for (i = 0; i < 256; i++) {
- c->pal[i] = 0xFF << 24 | i * 0x10101;
+ c->pal[i] = 0xFFU << 24 | i * 0x10101;
}
if (avctx->extradata_size < 12) {