Mercurial > libavformat.hg
diff utils.c @ 2398:3306dae77205 libavformat
fix cur_dts at the end of av_estimate_timings_from_pts()
author | michael |
---|---|
date | Sat, 18 Aug 2007 00:44:14 +0000 |
parents | e33a7c4d1bd5 |
children | e1fdab28da80 |
line wrap: on
line diff
--- a/utils.c Sat Aug 18 00:35:43 2007 +0000 +++ b/utils.c Sat Aug 18 00:44:14 2007 +0000 @@ -1566,6 +1566,10 @@ 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)