[vlc-commits] hls: Removing useless test.
    Hugo Beauzée-Luyssen 
    git at videolan.org
       
    Wed Feb 29 16:38:47 CET 2012
    
    
  
vlc/vlc-2.0 | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Mon Feb 27 16:18:02 2012 +0100| [385994ad5bc3032d12150155e02bdf003665148b] | committer: Jean-Baptiste Kempf
hls: Removing useless test.
(cherry picked from commit 39ef23e2ce0e54c074490eda0dcee6068c77091e)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=385994ad5bc3032d12150155e02bdf003665148b
---
 modules/stream_filter/httplive.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 3505d16..a165269 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -2454,7 +2454,7 @@ static int segment_Seek(stream_t *s, const uint64_t pos)
         length += segment->duration * (hls->bandwidth/8);
         vlc_mutex_unlock(&segment->lock);
 
-        if (!b_found && (pos <= length))
+        if (pos <= length)
         {
             if (count - n >= 3)
             {
    
    
More information about the vlc-commits
mailing list