diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-02-15 20:31:23 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-02-15 20:31:23 +0000 |
commit | 63873dafd5ab98102e7adb4dc6e611314b711ef2 (patch) | |
tree | 5e818037137ce91fe6062681efb177597e619f5d /src/input/input_http.c | |
parent | bc8e97613fad7177ce17b5f04a966940a2c03f04 (diff) | |
download | xine-lib-63873dafd5ab98102e7adb4dc6e611314b711ef2.tar.gz xine-lib-63873dafd5ab98102e7adb4dc6e611314b711ef2.tar.bz2 |
thank you, valgrind
CVS patchset: 6162
CVS date: 2004/02/15 20:31:23
Diffstat (limited to 'src/input/input_http.c')
-rw-r--r-- | src/input/input_http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c index da202607f..dad6a09c3 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -19,7 +19,7 @@ * * input plugin for http network streams * - * $Id: input_http.c,v 1.82 2004/01/23 00:01:08 valtri Exp $ + * $Id: input_http.c,v 1.83 2004/02/15 20:31:23 mroi Exp $ */ #ifdef HAVE_CONFIG_H @@ -448,7 +448,7 @@ static uint32_t http_plugin_get_capabilities (input_plugin_t *this_gen) { uint32_t caps = INPUT_CAP_PREVIEW; /* Nullsoft asked to not allow saving streaming nsv files */ - if (this->uri && + if (this->uri && strlen(this->uri) >= 4 && !strncmp(this->uri + strlen(this->uri) - 4, ".nsv", 4)) caps |= INPUT_CAP_RIP_FORBIDDEN; |