[SCM] libav/experimental: do not redundantly set stream nb_frames, it's already set in read_stts
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:54:06 UTC 2013
The following commit has been merged in the experimental branch:
commit c2564699bf5abdd2f909c2db4ae22f73bceb0157
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date: Thu Nov 5 07:32:50 2009 +0000
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
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 &&
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list