aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-11-05 07:32:50 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-11-05 07:32:50 +0000
commitc2564699bf5abdd2f909c2db4ae22f73bceb0157 (patch)
tree0d2b1d5a52ea3017be8d353f612d2a3797ea15d8 /libavformat
parente74527219668b720aefb7ecb79a44a8137aafa60 (diff)
downloadffmpeg-c2564699bf5abdd2f909c2db4ae22f73bceb0157.tar.gz
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
Diffstat (limited to 'libavformat')
-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 &&