[MPlayer-cvslog] r25274 - in trunk/stream: http.c network.c

reimar subversion at mplayerhq.hu
Sun Dec 2 23:12:50 CET 2007


Author: reimar
Date: Sun Dec  2 23:12:50 2007
New Revision: 25274

Log:
mime_type_table is const as well


Modified:
   trunk/stream/http.c
   trunk/stream/network.c

Modified: trunk/stream/http.c
==============================================================================
--- trunk/stream/http.c	(original)
+++ trunk/stream/http.c	Sun Dec  2 23:12:50 2007
@@ -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;
 

Modified: trunk/stream/network.c
==============================================================================
--- trunk/stream/network.c	(original)
+++ trunk/stream/network.c	Sun Dec  2 23:12:50 2007
@@ -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



More information about the MPlayer-cvslog mailing list