From 5a046a6f4d20648269d15fe688f61088cfcb9d0a Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 1 Dec 2007 16:31:49 +0000 Subject: 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 --- stream/stream.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stream/stream.c') 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; -- cgit v1.2.3