changeset 2522:6d0c22418d0a libavformat

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
author benoit
date Wed, 05 Sep 2007 14:11:33 +0000
parents 776b5c2a1bf1
children db7d46749b55
files utils.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Wed Sep 05 06:30:59 2007 +0000
+++ b/utils.c	Wed Sep 05 14:11:33 2007 +0000
@@ -1564,6 +1564,7 @@
     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;
     }
 }