]> git.sesse.net Git - vlc/blobdiff - modules/stream_filter/httplive.c
stream_filter: httplive.c: remove unused include files
[vlc] / modules / stream_filter / httplive.c
index 51ee480ba832ad70ca15a4d3d1398f91b642f75e..310906b3925982425ab5be0f148819579212cd2a 100644 (file)
@@ -36,9 +36,6 @@
 #include <vlc_threads.h>
 #include <vlc_arrays.h>
 #include <vlc_stream.h>
-#include <vlc_input.h>
-#include <vlc_fs.h>
-#include <vlc_network.h>
 #include <vlc_url.h>
 
 #include <vlc_modules.h>
@@ -540,7 +537,7 @@ static int get_HTTPLivePlaylist(stream_t *s, hls_stream_t *hls)
 
     /* Download new playlist file from server */
     if (AccessOpen(s, &hls->url) != VLC_SUCCESS)
-        goto error;
+        return VLC_EGENERIC;
 
     /* Parse the rest of the reply */
     uint8_t *tmp = calloc(1, HTTPLIVE_MAX_LINE);