vlc | branch: master | Francois Cartegnie <[email protected]> | Wed May 23 13:56:13 2018 +0200| [9e2b34c899bf83bd8c3cad719fafd8e6df2c9a39] | committer: Francois Cartegnie
demux: ogg: fix valid timestamp check > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9e2b34c899bf83bd8c3cad719fafd8e6df2c9a39 --- modules/demux/ogg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c index e5a0e84c70..ba1a5a7da5 100644 --- a/modules/demux/ogg.c +++ b/modules/demux/ogg.c @@ -662,13 +662,13 @@ static int Demux( demux_t * p_demux ) continue; if( p_stream->fmt.i_codec == VLC_CODEC_OGGSPOTS ) continue; - if( p_stream->i_pcr < VLC_TS_0 ) + if( p_stream->i_pcr <= VLC_TS_UNKNOWN ) continue; if ( p_stream->b_finished || p_stream->b_initializing ) continue; if ( p_stream->p_preparse_block ) continue; - if( i_pcr_candidate < VLC_TS_0 + if( i_pcr_candidate <= VLC_TS_UNKNOWN || p_stream->i_pcr <= i_pcr_candidate ) { i_pcr_candidate = p_stream->i_pcr; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
