Mercurial > libavformat.hg
changeset 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 | e5086ec7a4d4 |
children | e1fdab28da80 |
files | utils.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
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)