]> git.sesse.net Git - vlc/commitdiff
stream_filter/httplive.c: indentation cleanup
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Sat, 4 Feb 2012 15:41:06 +0000 (16:41 +0100)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Sun, 5 Feb 2012 14:05:08 +0000 (15:05 +0100)
Some small indentation cleanup.

modules/stream_filter/httplive.c

index c8c3e19c68ca861dc40bf5e7f6c78ac8c4442d91..ebea61da2bd7c6670a491751d8cc59fd16548b77 100644 (file)
@@ -445,7 +445,7 @@ static int ChooseSegment(stream_t *s, const int current)
         if (p_sys->b_live)
             i-- ;
         else
-          i++;
+            i++;
     }
 
     msg_Info(s, "Choose segment %d/%d (sequence=%d)", wanted, count, sequence);
@@ -678,7 +678,6 @@ static int parse_SegmentInformation(hls_stream_t *hls, char *p_read, int *durati
     }
 
     /* Ignore the rest of the line */
-
     return VLC_SUCCESS;
 }
 
@@ -1094,8 +1093,8 @@ static int parse_M3U8(stream_t *s, vlc_array_t *streams, uint8_t *buffer, const
         else
         {
             /* No Meta playlist used */
-            char*   uri = ConstructUrl( &s->p_sys->m3u8 );
-            if ( uri == NULL )
+            char* uri = ConstructUrl( &s->p_sys->m3u8 );
+            if (uri == NULL)
                 return VLC_EGENERIC;
             hls = hls_New(streams, 0, 0, uri);
             free( uri );
@@ -2011,7 +2010,6 @@ static int Open(vlc_object_t *p_this)
         goto fail;
     }
 
-
     p_sys->download.stream = current;
     p_sys->playback.stream = current;
     p_sys->download.seek = -1;
@@ -2414,7 +2412,6 @@ static uint64_t GetStreamSize(stream_t *s)
     return size;
 }
 
-
 static int segment_Seek(stream_t *s, const uint64_t pos)
 {
     stream_sys_t *p_sys = s->p_sys;