[FFmpeg-cvslog] r10137 - trunk/libavformat/utils.c
michael
subversion
Sat Aug 18 02:44:15 CEST 2007
Author: michael
Date: Sat Aug 18 02:44:14 2007
New Revision: 10137
Log:
fix cur_dts at the end of av_estimate_timings_from_pts()
Modified:
trunk/libavformat/utils.c
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c (original)
+++ trunk/libavformat/utils.c Sat Aug 18 02:44:14 2007
@@ -1566,6 +1566,10 @@ static void av_estimate_timings_from_pts
fill_all_stream_timings(ic);
url_fseek(&ic->pb, old_offset, SEEK_SET);
+ for(i=0; i<ic->nb_streams; i++){
+ st= ic->streams[i];
+ st->cur_dts= st->first_dts;
+ }
}
static void av_estimate_timings(AVFormatContext *ic, offset_t old_offset)
More information about the ffmpeg-cvslog
mailing list