[FFmpeg-cvslog] r20459 - trunk/libavformat/mov.c

bcoudurier subversion
Thu Nov 5 08:32:50 CET 2009


Author: bcoudurier
Date: Thu Nov  5 08:32:50 2009
New Revision: 20459

Log:
do not redundantly set stream nb_frames, it's already set in read_stts

Modified:
   trunk/libavformat/mov.c

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	Thu Nov  5 08:30:53 2009	(r20458)
+++ trunk/libavformat/mov.c	Thu Nov  5 08:32:50 2009	(r20459)
@@ -1436,7 +1436,6 @@ static void mov_build_index(MOVContext *
 
         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 &&



More information about the ffmpeg-cvslog mailing list