[vlc-commits] stream_filter/httplive.c: indentation cleanup

Jean-Paul Saman git at videolan.org
Tue Feb 7 12:12:12 CET 2012


vlc/vlc-2.0 | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Sat Feb  4 16:41:06 2012 +0100| [634d1c982dbaf42857576e05650f7ff5eaab41b7] | committer: Jean-Baptiste Kempf

stream_filter/httplive.c: indentation cleanup

Some small indentation cleanup.
(cherry picked from commit 446013a5b8fc9872eb0db3aee0ee65e8c551b8b8)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=634d1c982dbaf42857576e05650f7ff5eaab41b7
---

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

diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index c8c3e19..ebea61d 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -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;



More information about the vlc-commits mailing list