1.1 --- a/stream.c Fri Nov 13 19:27:36 2009 +0800
1.2 +++ b/stream.c Sun Dec 06 08:48:57 2009 +0800
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * MP3/MPlayer plugin to VDR (C++)
1.6 *
1.7 - * (C) 2001-2007 Stefan Huelswitt <s.huelswitt@gmx.de>
1.8 + * (C) 2001-2009 Stefan Huelswitt <s.huelswitt@gmx.de>
1.9 *
1.10 * This code is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License
1.12 @@ -406,7 +406,7 @@
1.13
1.14 bool cNetStream::ParseHeader(const char *buff, const char *name, char **value)
1.15 {
1.16 - char *s=index(buff,':');
1.17 + const char *s=index(buff,':');
1.18 if(s && !strncasecmp(buff,name,s-buff)) {
1.19 s=skipspace(s+1);
1.20 d(printf("netstream: found header '%s' contents '%s'\n",name,s))
1.21 @@ -528,7 +528,7 @@
1.22 return false;
1.23 }
1.24
1.25 -char *cNetStream::ParseMetaString(const char *buff, const char *name, char **value)
1.26 +char *cNetStream::ParseMetaString(char *buff, const char *name, char **value)
1.27 {
1.28 char *s=index(buff,'=');
1.29 if(s && !strncasecmp(buff,name,s-buff)) {