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 */