# HG changeset patch # User reimar # Date 1196633570 0 # Node ID c8d5c8f0b9efed6b5c1f73a71701f73fd013518f # Parent 157aafb33efe734f24ba0c61f98919d804c56a8e mime_type_table is const as well diff -r 157aafb33efe -r c8d5c8f0b9ef stream/http.c --- a/stream/http.c Sun Dec 02 22:08:22 2007 +0000 +++ b/stream/http.c Sun Dec 02 22:12:50 2007 +0000 @@ -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 -r 157aafb33efe -r c8d5c8f0b9ef stream/network.c --- a/stream/network.c Sun Dec 02 22:08:22 2007 +0000 +++ b/stream/network.c Sun Dec 02 22:12:50 2007 +0000 @@ -53,7 +53,7 @@ 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