[vlc-commits] httplive: remove write-only variable
Ilkka Ollakka
git at videolan.org
Wed Sep 4 13:13:49 CEST 2013
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Aug 27 19:45:29 2013 +0300| [e35f208525f1da9638e8d5bc548a0b7ce64cd738] | committer: Ilkka Ollakka
httplive: remove write-only variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e35f208525f1da9638e8d5bc548a0b7ce64cd738
---
modules/stream_filter/httplive.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 472c261..ef14b80 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -1003,8 +1003,6 @@ static int parse_M3U8(stream_t *s, vlc_array_t *streams, uint8_t *buffer, const
/* M3U8 Meta Index file */
do {
- bool failed_to_download_stream_m3u8 = false;
-
/* Next line */
line = ReadLine(p_begin, &p_read, p_end - p_begin);
if (line == NULL)
@@ -1043,7 +1041,6 @@ static int parse_M3U8(stream_t *s, vlc_array_t *streams, uint8_t *buffer, const
if (len < 0)
{
msg_Warn(s, "failed to read %s, continue for other streams", hls->url);
- failed_to_download_stream_m3u8 = true;
/* remove stream just added */
if (new_stream_added)
More information about the vlc-commits
mailing list