i think this is more correct
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 20 Mar 2007 13:01:39 +0000 (13:01 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 20 Mar 2007 13:01:39 +0000 (13:01 +0000)
Originally committed as revision 8452 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/utils.c

index 7e03b7f..b5893de 100644 (file)
@@ -915,7 +915,7 @@ static void av_read_frame_flush(AVFormatContext *s)
             st->parser = NULL;
         }
         st->last_IP_pts = AV_NOPTS_VALUE;
-        st->cur_dts = 0; /* we set the current DTS to an unspecified origin */
+        st->cur_dts = AV_NOPTS_VALUE; /* we set the current DTS to an unspecified origin */
     }
 }