summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/http.c2
-rw-r--r--stream/network.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/stream/http.c b/stream/http.c
index 1eb65d8bb3..ac484f84d9 100644
--- a/stream/http.c
+++ b/stream/http.c
@@ -28,7 +28,7 @@
#include "help_mp.h"
-extern mime_struct_t mime_type_table[];
+extern const mime_struct_t mime_type_table[];
extern int stream_cache_size;
extern int network_bandwidth;
diff --git a/stream/network.c b/stream/network.c
index 84e1263260..6874d9a9ea 100644
--- a/stream/network.c
+++ b/stream/network.c
@@ -53,7 +53,7 @@ char *network_useragent=NULL;
int network_ipv4_only_proxy = 0;
-mime_struct_t mime_type_table[] = {
+const mime_struct_t mime_type_table[] = {
// MP3 streaming, some MP3 streaming server answer with audio/mpeg
{ "audio/mpeg", DEMUXER_TYPE_AUDIO },
// MPEG streaming