[FFmpeg-cvslog] Fix issue2437

Michael Niedermayer git at videolan.org
Sun Apr 3 18:20:08 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Mar  8 22:39:14 2011 +0100| [512f973eac9a8c38ca33f089b6f3bb433ffc6a2e] | committer: Michael Niedermayer

Fix issue2437

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=512f973eac9a8c38ca33f089b6f3bb433ffc6a2e
---

 libavformat/utils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index c19238e..c4e57f6 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2016,6 +2016,7 @@ static void av_estimate_timings_from_pts(AVFormatContext *ic, int64_t old_offset
         st= ic->streams[i];
         st->cur_dts= st->first_dts;
         st->last_IP_pts = AV_NOPTS_VALUE;
+        st->reference_dts = AV_NOPTS_VALUE;
     }
 }
 



More information about the ffmpeg-cvslog mailing list