Lines Matching defs:start_sec
868 static int update_index(AVFormatContext *s, int start_sec,
874 if (start_sec > asf->next_start_sec) {
883 if (start_sec > asf->nb_index_memory_alloc) {
885 asf->nb_index_memory_alloc = (start_sec + ASF_INDEX_BLOCK) & ~(ASF_INDEX_BLOCK - 1);
893 for (i = asf->next_start_sec; i < start_sec; i++) {
905 asf->next_start_sec = start_sec;
918 int start_sec;
938 start_sec = (int)((PREROLL_TIME * 10000 + pts + ASF_INDEXED_INTERVAL - 1)
944 ret = update_index(s, start_sec, packet_number, packet_count, offset);
948 asf->end_sec = start_sec;