diff options
author | Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> | 2007-09-05 14:11:33 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-09-05 14:11:33 +0000 |
commit | cc5297e871f2a30b62b972c6479ab1d4fdc14132 (patch) | |
tree | 423f570f2476043ce29c9b4a706f3d202479ba0e | |
parent | 5f757b856ded4ced127a6fcdd619944475f9da02 (diff) | |
download | ffmpeg-cc5297e871f2a30b62b972c6479ab1d4fdc14132.tar.gz |
Correct initial timestamp
Patch by Wolfram Gloger: [wmglo $ dent med uni-muenchen de]
Original thread:
[FFmpeg-devel] [PATCH] av_estimate_timings_from_pts corrupt timestamps
date: 08/25/2007 09:51 PM
Originally committed as revision 10405 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 0e323831d3..da45900bdc 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -1564,6 +1564,7 @@ static void av_estimate_timings_from_pts(AVFormatContext *ic, offset_t old_offse for(i=0; i<ic->nb_streams; i++){ st= ic->streams[i]; st->cur_dts= st->first_dts; + st->last_IP_pts = AV_NOPTS_VALUE; } } |