diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-03-09 19:21:39 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-03-09 19:21:39 +0000 |
commit | e03ff1e0ef9be7da0fbd1e4d6b2bad72b1610278 (patch) | |
tree | e2357cd306534df0218bb73ecb9f101b541b2ce7 /libmpdemux | |
parent | da87897b1b5778e1ef7cc6b5c0de95bd2a887fa7 (diff) | |
download | mpv-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.c | 2 |
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) { |