Commit fc4840bb authored by bcoudurier's avatar bcoudurier

do not redundantly set stream nb_frames, it's already set in read_stts

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20459 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ad4f331a
...@@ -1436,7 +1436,6 @@ static void mov_build_index(MOVContext *mov, AVStream *st) ...@@ -1436,7 +1436,6 @@ static void mov_build_index(MOVContext *mov, AVStream *st)
current_dts -= sc->dts_shift; current_dts -= sc->dts_shift;
st->nb_frames = sc->sample_count;
for (i = 0; i < sc->chunk_count; i++) { for (i = 0; i < sc->chunk_count; i++) {
current_offset = sc->chunk_offsets[i]; current_offset = sc->chunk_offsets[i];
if (stsc_index + 1 < sc->stsc_count && if (stsc_index + 1 < sc->stsc_count &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment