vlc | branch: master | Steve Lhomme <rob...@ycbcr.xyz> | Thu May 31 16:40:03 
2018 +0200| [21a525fa5695c01df4bf43f3d4f15735b1230d05] | committer: Steve Lhomme

ogg: simplify opposite test as the other if

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=21a525fa5695c01df4bf43f3d4f15735b1230d05
---

 modules/demux/oggseek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/oggseek.c b/modules/demux/oggseek.c
index 5f0758e3b5..bd3e6e90f2 100644
--- a/modules/demux/oggseek.c
+++ b/modules/demux/oggseek.c
@@ -702,7 +702,7 @@ static int64_t OggBisectSearchByTime( demux_t *p_demux, 
logical_stream_t *p_stre
                     bestlower = current;
                 i_start_pos = current.i_pos;
             }
-            else if ( current.i_timestamp > i_targettime )
+            else
             {
                 if ( lowestupper.i_timestamp == VLC_TICK_INVALID ||
                      current.i_timestamp < lowestupper.i_timestamp )

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to