|
|
|
@ -1348,8 +1348,8 @@ static void mov_build_index(MOVContext *mov, AVStream *st) |
|
|
|
|
"size %d, distance %d, keyframe %d\n", st->index, current_sample, |
|
|
|
|
current_offset, current_dts, sample_size, distance, keyframe); |
|
|
|
|
if(sc->sample_to_chunk[stsc_index].id - 1 == sc->pseudo_stream_id) |
|
|
|
|
av_add_index_entry(st, current_offset, current_dts, sample_size, distance, |
|
|
|
|
keyframe ? AVINDEX_KEYFRAME : 0); |
|
|
|
|
av_add_index_entry(st, current_offset, current_dts, sample_size, distance, |
|
|
|
|
keyframe ? AVINDEX_KEYFRAME : 0); |
|
|
|
|
current_offset += sample_size; |
|
|
|
|
assert(sc->stts_data[stts_index].duration % sc->time_rate == 0); |
|
|
|
|
current_dts += sc->stts_data[stts_index].duration / sc->time_rate; |
|
|
|
|