changeset 30837:6f68476cced7

Return MP_NOPTS_VALUE if we can't figure out the pts, not 0.
author reimar
date Tue, 09 Mar 2010 19:21:39 +0000
parents 7296ecaa30ec
children 0bb5a351cdd7
files libmpdemux/demux_ogg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ogg.c	Tue Mar 09 19:19:32 2010 +0000
+++ b/libmpdemux/demux_ogg.c	Tue Mar 09 19:21:39 2010 +0000
@@ -264,7 +264,7 @@
   unsigned char* data = pack->packet;
   int size = pack->bytes;
 
-  *pts = 0;
+  *pts = MP_NOPTS_VALUE;
   *flags = 0;
 
   if(os->vorbis) {