return v - br;
}
-static int mpc8_probe(AVProbeData *p)
+static int mpc8_probe(const AVProbeData *p)
{
const uint8_t *bs = p->buf + 4;
const uint8_t *bs_end = bs + p->buf_size;
size = gb_get_v(&gb);
if(size > UINT_MAX/4 || size > c->samples/1152){
av_log(s, AV_LOG_ERROR, "Seek table is too big\n");
+ av_free(buf);
return;
}
seekd = get_bits(&gb, 4);