[MPlayer-cvslog] r25718 - trunk/stream/stream.h
reimar
subversion at mplayerhq.hu
Sun Jan 13 13:09:29 CET 2008
Author: reimar
Date: Sun Jan 13 13:09:29 2008
New Revision: 25718
Log:
stream_info_t opts and protocols point to constant data as well.
Modified:
trunk/stream/stream.h
Modified: trunk/stream/stream.h
==============================================================================
--- trunk/stream/stream.h (original)
+++ trunk/stream/stream.h Sun Jan 13 13:09:29 2008
@@ -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 */
More information about the MPlayer-cvslog
mailing list