[FFmpeg-cvslog] r11429 - trunk/libavformat/pva.c

ivo subversion
Sat Jan 5 23:28:42 CET 2008


Author: ivo
Date: Sat Jan  5 23:28:42 2008
New Revision: 11429

Log:
proper check for valid pva_pts


Modified:
   trunk/libavformat/pva.c

Modified: trunk/libavformat/pva.c
==============================================================================
--- trunk/libavformat/pva.c	(original)
+++ trunk/libavformat/pva.c	Sat Jan  5 23:28:42 2008
@@ -144,7 +144,7 @@ recover:
         return AVERROR(EIO);
 
     pkt->stream_index = streamid - 1;
-    if (pva_pts)
+    if (pva_pts != AV_NOPTS_VALUE)
         pkt->pts = pva_pts;
 
     return ret;




More information about the ffmpeg-cvslog mailing list