From e03ff1e0ef9be7da0fbd1e4d6b2bad72b1610278 Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 9 Mar 2010 19:21:39 +0000 Subject: [PATCH] Return MP_NOPTS_VALUE if we can't figure out the pts, not 0. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30879 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_ogg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/demux_ogg.c b/libmpdemux/demux_ogg.c index dcb74c7bc3..180769a352 100644 --- a/libmpdemux/demux_ogg.c +++ b/libmpdemux/demux_ogg.c @@ -264,7 +264,7 @@ static unsigned char* demux_ogg_read_packet(ogg_stream_t* os,ogg_packet* pack,fl unsigned char* data = pack->packet; int size = pack->bytes; - *pts = 0; + *pts = MP_NOPTS_VALUE; *flags = 0; if(os->vorbis) {