Browse Source

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

Originally committed as revision 20459 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Baptiste Coudurier 16 years ago
parent
commit
c2564699bf
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavformat/mov.c

+ 0
- 1
libavformat/mov.c View File

@@ -1436,7 +1436,6 @@ static void mov_build_index(MOVContext *mov, AVStream *st)

current_dts -= sc->dts_shift;

st->nb_frames = sc->sample_count;
for (i = 0; i < sc->chunk_count; i++) {
current_offset = sc->chunk_offsets[i];
if (stsc_index + 1 < sc->stsc_count &&


Loading…
Cancel
Save