Lines Matching defs:timestamp
185 * Also this function makes use of the fact that timestamp == frameno
187 static int mpc_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
194 int index = av_index_search_timestamp(st, FFMAX(timestamp - DELAY_FRAMES, 0), flags);
198 if (index >= 0 && sti->index_entries[sti->nb_index_entries-1].timestamp >= timestamp - DELAY_FRAMES) {
202 /* if timestamp is out of bounds, return error */
203 if(timestamp < 0 || timestamp >= c->fcount)
205 timestamp -= DELAY_FRAMES;
210 while(c->curframe < timestamp){