summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 194d139387..b4d924edb1 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -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 &&