From 62b89eb60a43192589f7a2f24622d533ea617c18 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 13 Jan 2008 12:09:29 +0000 Subject: stream_info_t opts and protocols point to constant data as well. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25718 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stream') diff --git a/stream/stream.h b/stream/stream.h index 82abe68fab..b97d72584f 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -79,8 +79,8 @@ typedef struct stream_info_st { /// opts is at least in it's defaults settings and may have been /// altered by url parsing if enabled and the options string parsing. int (*open)(struct stream_st* st, int mode, void* opts, int* file_format); - char* protocols[MAX_STREAM_PROTOCOLS]; - void* opts; + const char* protocols[MAX_STREAM_PROTOCOLS]; + const void* opts; int opts_url; /* If this is 1 we will parse the url as an option string * too. Otherwise options are only parsed from the * options string given to open_stream_plugin */ -- cgit v1.2.3