[vlc-devel] [PATCH 37/48] hls: segment_Seek: Removing useless check

Hugo Beauzée-Luyssen beauze.h at gmail.com
Mon Jan 9 16:16:46 CET 2012


---
 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 e1883ab..0cca67f 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -2410,7 +2410,7 @@ static int segment_Seek(stream_t *s, const uint64_t pos)
         time += segment->duration;
         vlc_mutex_unlock(&segment->lock);
 
-        if (!b_found && (pos <= length))
+        if ( pos <= length )
         {
             if (count - n >= 3)
             {
-- 
1.7.8.3




More information about the vlc-devel mailing list