Commit 7aebddbe authored by michael's avatar michael

fix cur_dts at the end of av_estimate_timings_from_pts()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10137 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cd73960a
...@@ -1566,6 +1566,10 @@ static void av_estimate_timings_from_pts(AVFormatContext *ic, offset_t old_offse ...@@ -1566,6 +1566,10 @@ static void av_estimate_timings_from_pts(AVFormatContext *ic, offset_t old_offse
fill_all_stream_timings(ic); fill_all_stream_timings(ic);
url_fseek(&ic->pb, old_offset, SEEK_SET); 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) static void av_estimate_timings(AVFormatContext *ic, offset_t old_offset)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment