From db5487225c3c410a671c242b1eccaf7877dbee74 Mon Sep 17 00:00:00 2001 From: reynaldo Date: Thu, 27 Jul 2006 17:35:06 +0000 Subject: marks some read-only char* inside structs as const, patch by Stefan Huehner, stefan At huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19199 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/network.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmpdemux/network.h') diff --git a/libmpdemux/network.h b/libmpdemux/network.h index 0081c88256..bb659fa6ba 100644 --- a/libmpdemux/network.h +++ b/libmpdemux/network.h @@ -26,7 +26,7 @@ #define BUFFER_SIZE 2048 typedef struct { - char *mime_type; + const char *mime_type; int demuxer_type; } mime_struct_t; -- cgit v1.2.3