diff -r 65ed49cbc08b -r afc13760179b stream.c --- a/stream.c Fri Nov 13 19:27:36 2009 +0800 +++ b/stream.c Sun Dec 06 08:48:57 2009 +0800 @@ -1,7 +1,7 @@ /* * MP3/MPlayer plugin to VDR (C++) * - * (C) 2001-2007 Stefan Huelswitt + * (C) 2001-2009 Stefan Huelswitt * * This code is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -406,7 +406,7 @@ bool cNetStream::ParseHeader(const char *buff, const char *name, char **value) { - char *s=index(buff,':'); + const char *s=index(buff,':'); if(s && !strncasecmp(buff,name,s-buff)) { s=skipspace(s+1); d(printf("netstream: found header '%s' contents '%s'\n",name,s)) @@ -528,7 +528,7 @@ return false; } -char *cNetStream::ParseMetaString(const char *buff, const char *name, char **value) +char *cNetStream::ParseMetaString(char *buff, const char *name, char **value) { char *s=index(buff,'='); if(s && !strncasecmp(buff,name,s-buff)) {