Mercurial > mplayer.hg
changeset 25246:c8d5c8f0b9ef
mime_type_table is const as well
author | reimar |
---|---|
date | Sun, 02 Dec 2007 22:12:50 +0000 |
parents | 157aafb33efe |
children | 3605c9777989 |
files | stream/http.c stream/network.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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