summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-13 12:09:29 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-13 12:09:29 +0000
commit62b89eb60a43192589f7a2f24622d533ea617c18 (patch)
treead89f9273a9602d83d5f9edd9d8586fb4578f1cf
parent83773af50ffa6a30af26bab4225ea235cca1565d (diff)
downloadmpv-62b89eb60a43192589f7a2f24622d533ea617c18.tar.bz2
mpv-62b89eb60a43192589f7a2f24622d533ea617c18.tar.xz
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
-rw-r--r--stream/stream.h4
1 files changed, 2 insertions, 2 deletions
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 */