[MPlayer-cvslog] r30879 - trunk/libmpdemux/demux_ogg.c

reimar subversion at mplayerhq.hu
Tue Mar 9 20:21:39 CET 2010


Author: reimar
Date: Tue Mar  9 20:21:39 2010
New Revision: 30879

Log:
Return MP_NOPTS_VALUE if we can't figure out the pts, not 0.

Modified:
   trunk/libmpdemux/demux_ogg.c

Modified: trunk/libmpdemux/demux_ogg.c
==============================================================================
--- trunk/libmpdemux/demux_ogg.c	Tue Mar  9 20:19:32 2010	(r30878)
+++ trunk/libmpdemux/demux_ogg.c	Tue Mar  9 20:21:39 2010	(r30879)
@@ -264,7 +264,7 @@ static unsigned char* demux_ogg_read_pac
   unsigned char* data = pack->packet;
   int size = pack->bytes;
 
-  *pts = 0;
+  *pts = MP_NOPTS_VALUE;
   *flags = 0;
 
   if(os->vorbis) {


More information about the MPlayer-cvslog mailing list