[vlc-devel] [PATCH 35/48] hls: hls_Read: Removing useless label.

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


---
 modules/stream_filter/httplive.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 431eb65..c11c277 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -2114,7 +2114,6 @@ static ssize_t hls_Read(stream_t *s, uint8_t *p_read, unsigned int i_read)
         /* Determine next segment to read. If this is a meta playlist and
          * bandwidth conditions changed, then the stream might have switched
          * to another bandwidth. */
-again:
         segment = GetSegment(s);
         if (segment == NULL)
         {
@@ -2141,7 +2140,7 @@ again:
 
                 if (!vlc_object_alive(s) || s->b_error || p_sys->b_quit)
                     return 0; /* eof? */
-                goto again;
+                continue ;
             }
             else
             {
-- 
1.7.8.3




More information about the vlc-devel mailing list