diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-01 16:31:49 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-01 16:31:49 +0000 |
commit | 5a046a6f4d20648269d15fe688f61088cfcb9d0a (patch) | |
tree | 1ed3db3fcd31e712601435196a72ea7a9da17baa | |
parent | 4cc00dc1929793c0c338fad83f4fb75bfc55b2ed (diff) | |
download | mpv-5a046a6f4d20648269d15fe688f61088cfcb9d0a.tar.bz2 mpv-5a046a6f4d20648269d15fe688f61088cfcb9d0a.tar.xz |
auto_open_streams should have const type, fix also the places where it is used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25235 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | stream/stream.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stream/stream.c b/stream/stream.c index e506781fc5..6beb5cb0c0 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -88,7 +88,7 @@ extern stream_info_t stream_info_file; extern stream_info_t stream_info_dvd; #endif -static stream_info_t* auto_open_streams[] = { +static const stream_info_t* auto_open_streams[] = { #ifdef HAVE_VCD &stream_info_vcd, #endif @@ -144,7 +144,7 @@ static stream_info_t* auto_open_streams[] = { NULL }; -stream_t* open_stream_plugin(stream_info_t* sinfo,char* filename,int mode, +stream_t* open_stream_plugin(const stream_info_t* sinfo,char* filename,int mode, char** options, int* file_format, int* ret, char** redirected_url) { void* arg = NULL; @@ -213,7 +213,7 @@ stream_t* open_stream_plugin(stream_info_t* sinfo,char* filename,int mode, stream_t* open_stream_full(char* filename,int mode, char** options, int* file_format) { int i,j,l,r; - stream_info_t* sinfo; + const stream_info_t* sinfo; stream_t* s; char *redirected_url = NULL; |