[vlc-commits] demux: ogg: no need to copy a value if it's equal
Steve Lhomme
git at videolan.org
Wed Sep 19 13:23:53 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jun 1 09:23:58 2018 +0200| [a3d2955e8f45a0f41421cae259b23082efb1a519] | committer: Steve Lhomme
demux: ogg: no need to copy a value if it's equal
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a3d2955e8f45a0f41421cae259b23082efb1a519
---
modules/demux/ogg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 3f58716b2b..863c1a5e54 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -313,7 +313,7 @@ static vlc_tick_t Ogg_GeneratePCR( demux_t * p_demux, bool b_drain )
if ( (!b_drain && p_stream->b_finished) || p_stream->b_initializing )
continue;
if( i_pcr_candidate == VLC_TICK_INVALID ||
- p_stream->i_pcr <= i_pcr_candidate )
+ p_stream->i_pcr < i_pcr_candidate )
{
i_pcr_candidate = p_stream->i_pcr;
}
More information about the vlc-commits
mailing list