Commit 446013a5 authored by Jean-Paul Saman's avatar Jean-Paul Saman

stream_filter/httplive.c: indentation cleanup

Some small indentation cleanup.
parent 6ae98eec
...@@ -445,7 +445,7 @@ static int ChooseSegment(stream_t *s, const int current) ...@@ -445,7 +445,7 @@ static int ChooseSegment(stream_t *s, const int current)
if (p_sys->b_live) if (p_sys->b_live)
i-- ; i-- ;
else else
i++; i++;
} }
msg_Info(s, "Choose segment %d/%d (sequence=%d)", wanted, count, sequence); 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 ...@@ -678,7 +678,6 @@ static int parse_SegmentInformation(hls_stream_t *hls, char *p_read, int *durati
} }
/* Ignore the rest of the line */ /* Ignore the rest of the line */
return VLC_SUCCESS; return VLC_SUCCESS;
} }
...@@ -1094,8 +1093,8 @@ static int parse_M3U8(stream_t *s, vlc_array_t *streams, uint8_t *buffer, const ...@@ -1094,8 +1093,8 @@ static int parse_M3U8(stream_t *s, vlc_array_t *streams, uint8_t *buffer, const
else else
{ {
/* No Meta playlist used */ /* No Meta playlist used */
char* uri = ConstructUrl( &s->p_sys->m3u8 ); char* uri = ConstructUrl( &s->p_sys->m3u8 );
if ( uri == NULL ) if (uri == NULL)
return VLC_EGENERIC; return VLC_EGENERIC;
hls = hls_New(streams, 0, 0, uri); hls = hls_New(streams, 0, 0, uri);
free( uri ); free( uri );
...@@ -2011,7 +2010,6 @@ static int Open(vlc_object_t *p_this) ...@@ -2011,7 +2010,6 @@ static int Open(vlc_object_t *p_this)
goto fail; goto fail;
} }
p_sys->download.stream = current; p_sys->download.stream = current;
p_sys->playback.stream = current; p_sys->playback.stream = current;
p_sys->download.seek = -1; p_sys->download.seek = -1;
...@@ -2414,7 +2412,6 @@ static uint64_t GetStreamSize(stream_t *s) ...@@ -2414,7 +2412,6 @@ static uint64_t GetStreamSize(stream_t *s)
return size; return size;
} }
static int segment_Seek(stream_t *s, const uint64_t pos) static int segment_Seek(stream_t *s, const uint64_t pos)
{ {
stream_sys_t *p_sys = s->p_sys; stream_sys_t *p_sys = s->p_sys;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment