From c2564699bf5abdd2f909c2db4ae22f73bceb0157 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Thu, 5 Nov 2009 07:32:50 +0000 Subject: [PATCH] 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 --- libavformat/mov.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 194d139..b4d924e 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 && -- 2.7.4