mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
da87897b1b
commit
e03ff1e0ef
|
@ -264,7 +264,7 @@ static unsigned char* demux_ogg_read_packet(ogg_stream_t* os,ogg_packet* pack,fl
|
||||||
unsigned char* data = pack->packet;
|
unsigned char* data = pack->packet;
|
||||||
int size = pack->bytes;
|
int size = pack->bytes;
|
||||||
|
|
||||||
*pts = 0;
|
*pts = MP_NOPTS_VALUE;
|
||||||
*flags = 0;
|
*flags = 0;
|
||||||
|
|
||||||
if(os->vorbis) {
|
if(os->vorbis) {
|
||||||
|
|
Loading…
Reference in New Issue