val = arith_get_number(acoder, (base + 1) / 2 - 2) + 3;
}
- if (val == base) {
+ if ((unsigned)val >= base) {
ctx->corrupted = 1;
return 0;
}
AVCodec ff_mss1_decoder = {
.name = "mss1",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_MSS1,
+ .id = AV_CODEC_ID_MSS1,
.priv_data_size = sizeof(MSS1Context),
.init = mss1_decode_init,
.close = mss1_decode_end,