mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
mime_type_table is const as well
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25274 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cdc332e6c0
commit
7afc929e2a
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user