summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-09 19:21:39 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-09 19:21:39 +0000
commite03ff1e0ef9be7da0fbd1e4d6b2bad72b1610278 (patch)
treee2357cd306534df0218bb73ecb9f101b541b2ce7 /libmpdemux
parentda87897b1b5778e1ef7cc6b5c0de95bd2a887fa7 (diff)
downloadmpv-e03ff1e0ef9be7da0fbd1e4d6b2bad72b1610278.tar.bz2
mpv-e03ff1e0ef9be7da0fbd1e4d6b2bad72b1610278.tar.xz
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
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_ogg.c2
1 files changed, 1 insertions, 1 deletions
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) {