# HG changeset patch # User reimar # Date 1196526709 0 # Node ID 21d672c608ef03b24e6799846098e159e117c7dd # Parent 2d6575d7bc49a6c25c473e04e81da69e07674d8a auto_open_streams should have const type, fix also the places where it is used diff -r 2d6575d7bc49 -r 21d672c608ef stream/stream.c --- a/stream/stream.c Sat Dec 01 15:12:05 2007 +0000 +++ b/stream/stream.c Sat Dec 01 16:31:49 2007 +0000 @@ -88,7 +88,7 @@ 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 @@ 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_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;