summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@users.sourceforge.net>2003-05-21 23:52:32 +0000
committerBastien Nocera <hadess@users.sourceforge.net>2003-05-21 23:52:32 +0000
commitaf5e954d020240cc5c7f18778394bea51d9a2072 (patch)
tree82d05365b4aa8e51c4e9b6ac343de3c7b0f8b576
parent6e6518e47c7f4d09e96ab509db2cfcb695d426b0 (diff)
downloadxine-lib-af5e954d020240cc5c7f18778394bea51d9a2072.tar.gz
xine-lib-af5e954d020240cc5c7f18778394bea51d9a2072.tar.bz2
- removed work-around for NSV streams from Nullsoft
CVS patchset: 4900 CVS date: 2003/05/21 23:52:32
-rw-r--r--src/input/input_http.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c
index 1b06d57a7..96c83f489 100644
--- a/src/input/input_http.c
+++ b/src/input/input_http.c
@@ -758,16 +758,9 @@ static int http_plugin_open (input_plugin_t *this_gen ) {
if (this->user != NULL)
sprintf (this->buf + strlen(this->buf), "Authorization: Basic %s\015\012",
this->auth);
-
- if (!strncmp(this->filename + strlen(this->filename) - 4, ".nsv", 4)) {
-#ifdef LOG
- printf("input_http: using winamp http user-agent\n");
-#endif
- strcat (this->buf, "User-Agent: Nullsoft Winamp3 version 3.0d build 488\015\012");
- } else {
- sprintf (this->buf + strlen(this->buf), "User-Agent: xine/%s\015\012",
- VERSION);
- }
+
+ sprintf (this->buf + strlen(this->buf), "User-Agent: xine/%s\015\012",
+ VERSION);
strcat (this->buf, "Accept: */*\015\012");
strcat (this->buf, "Icy-MetaData: 1\015\012");