[vlc-commits] flac: simplify opposite test as the other if
    Steve Lhomme 
    git at videolan.org
       
    Tue Sep 18 17:07:35 CEST 2018
    
    
  
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu May 31 15:57:57 2018 +0200| [28ab5cec9980e263fbfa84f913bfc492a221c21c] | committer: Steve Lhomme
flac: simplify opposite test as the other if
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28ab5cec9980e263fbfa84f913bfc492a221c21c
---
 modules/demux/flac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/flac.c b/modules/demux/flac.c
index e7f8d4e42d..2a7230ed74 100644
--- a/modules/demux/flac.c
+++ b/modules/demux/flac.c
@@ -318,7 +318,7 @@ static int RefineSeek( demux_t *p_demux, vlc_tick_t i_time, double i_bytemicrora
             }
             else b_found = true;
         }
-        else if( p_block_out->i_dts < i_time )
+        else
         {
             vlc_tick_t i_diff = i_time - p_block_out->i_dts;
             /* Not in acceptable NEXT_TIME demux range */
    
    
More information about the vlc-commits
mailing list