[FFmpeg-cvslog] r10405 - trunk/libavformat/utils.c

benoit subversion
Wed Sep 5 16:11:33 CEST 2007


Author: benoit
Date: Wed Sep  5 16:11:33 2007
New Revision: 10405

Log:
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


Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	(original)
+++ trunk/libavformat/utils.c	Wed Sep  5 16:11:33 2007
@@ -1564,6 +1564,7 @@ static void av_estimate_timings_from_pts
     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;
     }
 }
 




More information about the ffmpeg-cvslog mailing list