[vlc-commits] hls: Removing useless test.

Hugo Beauzée-Luyssen git at videolan.org
Wed Feb 29 14:50:00 CET 2012


vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Mon Feb 27 16:18:02 2012 +0100| [39ef23e2ce0e54c074490eda0dcee6068c77091e] | committer: Hugo Beauzée-Luyssen

hls: Removing useless test.

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

 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 9915dee..984a390 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -2339,7 +2339,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