summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-02 22:12:50 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-02 22:12:50 +0000
commit7afc929e2a5a5e911043305fa541c0dd6ceb3d2b (patch)
tree4461097c60910668e1ec2ddf34ee71b7526833a3 /stream
parentcdc332e6c0cc4930d88c2cb5879d312af01cb3b1 (diff)
downloadmpv-7afc929e2a5a5e911043305fa541c0dd6ceb3d2b.tar.bz2
mpv-7afc929e2a5a5e911043305fa541c0dd6ceb3d2b.tar.xz
mime_type_table is const as well
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25274 b3059339-0415-0410-9bf9-f77b7e298cf2
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