Commit 27c1188f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

HLS: remove tabs and trailing space

parent 65d11fbb
...@@ -1271,7 +1271,7 @@ static int get_HTTPLiveMetaPlaylist(stream_t *s, vlc_array_t **streams) ...@@ -1271,7 +1271,7 @@ static int get_HTTPLiveMetaPlaylist(stream_t *s, vlc_array_t **streams)
return err; return err;
} }
/* Update hls_old (an existing member of p_sys->hls_stream) to match hls_new /* Update hls_old (an existing member of p_sys->hls_stream) to match hls_new
(which represents a downloaded, perhaps newer version of the same playlist) */ (which represents a downloaded, perhaps newer version of the same playlist) */
static int hls_UpdatePlaylist(stream_t *s, hls_stream_t *hls_new, hls_stream_t *hls_old) static int hls_UpdatePlaylist(stream_t *s, hls_stream_t *hls_new, hls_stream_t *hls_old)
{ {
...@@ -1836,7 +1836,7 @@ static char *ReadLine(uint8_t *buffer, uint8_t **pos, const size_t len) ...@@ -1836,7 +1836,7 @@ static char *ReadLine(uint8_t *buffer, uint8_t **pos, const size_t len)
/* next pass start after \r and \n */ /* next pass start after \r and \n */
p++; p++;
*pos = p; *pos = p;
} }
} }
return line; return line;
...@@ -2423,7 +2423,7 @@ static int segment_Seek(stream_t *s, const uint64_t pos) ...@@ -2423,7 +2423,7 @@ static int segment_Seek(stream_t *s, const uint64_t pos)
/* Wait for download to be finished */ /* Wait for download to be finished */
msg_Info(s, "seek to segment %d", p_sys->playback.segment); msg_Info(s, "seek to segment %d", p_sys->playback.segment);
while ((p_sys->download.seek != -1) || while ((p_sys->download.seek != -1) ||
((p_sys->download.segment - p_sys->playback.segment < 3) && ((p_sys->download.segment - p_sys->playback.segment < 3) &&
(p_sys->download.segment < count))) (p_sys->download.segment < count)))
{ {
vlc_cond_wait(&p_sys->download.wait, &p_sys->download.lock_wait); vlc_cond_wait(&p_sys->download.wait, &p_sys->download.lock_wait);
......
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