uint32_t lastframe;
/* if found, seek there */
- if (index >= 0 && st->index_entries[st->nb_index_entries-1].timestamp >= timestamp - DELAY_FRAMES){
- c->curframe = st->index_entries[index].pos;
+ if (index >= 0 && st->internal->index_entries[st->internal->nb_index_entries-1].timestamp >= timestamp - DELAY_FRAMES){
+ c->curframe = st->internal->index_entries[index].pos;
return 0;
}
/* if timestamp is out of bounds, return error */
}
-AVInputFormat ff_mpc_demuxer = {
+const AVInputFormat ff_mpc_demuxer = {
.name = "mpc",
.long_name = NULL_IF_CONFIG_SMALL("Musepack"),
.priv_data_size = sizeof(MPCContext),