Mercurial > mplayer.hg
changeset 25690:7b66e1a132de
stream_info_t opts and protocols point to constant data as well.
author | reimar |
---|---|
date | Sun, 13 Jan 2008 12:09:29 +0000 |
parents | 7d5823bd4517 |
children | 68015115f63a |
files | stream/stream.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/stream.h Sun Jan 13 12:01:57 2008 +0000 +++ b/stream/stream.h Sun Jan 13 12:09:29 2008 +0000 @@ -79,8 +79,8 @@ /// 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 */