Fix issue2437
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 8 Mar 2011 21:39:14 +0000 (22:39 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 3 Apr 2011 14:40:11 +0000 (16:40 +0200)
libavformat/utils.c

index c19238e..c4e57f6 100644 (file)
@@ -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;
     }
 }