Browse Source

fix cur_dts at the end of av_estimate_timings_from_pts()

Originally committed as revision 10137 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
df886e7e02
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavformat/utils.c

+ 4
- 0
libavformat/utils.c View File

@@ -1566,6 +1566,10 @@ static void av_estimate_timings_from_pts(AVFormatContext *ic, offset_t old_offse
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)


Loading…
Cancel
Save