diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-11-05 07:32:50 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-11-05 07:32:50 +0000 |
commit | c2564699bf5abdd2f909c2db4ae22f73bceb0157 (patch) | |
tree | 0d2b1d5a52ea3017be8d353f612d2a3797ea15d8 | |
parent | e74527219668b720aefb7ecb79a44a8137aafa60 (diff) | |
download | ffmpeg-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
-rw-r--r-- | libavformat/mov.c | 1 |
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 && |