[vlc-devel] [PATCH] Audioscrobbler: Do not encode metadata submitted by POST requests in URI component.
Samuel Pitoiset
samuel.pitoiset at gmail.com
Fri Feb 24 22:46:29 CET 2012
---
modules/misc/audioscrobbler.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/misc/audioscrobbler.c b/modules/misc/audioscrobbler.c
index ef1a8e4..e45c815 100644
--- a/modules/misc/audioscrobbler.c
+++ b/modules/misc/audioscrobbler.c
@@ -175,7 +175,7 @@ static void ReadMetaData(intf_thread_t *p_this)
#define ALLOC_ITEM_META(a, b) do { \
char *psz_meta = input_item_Get##b(p_item); \
if (psz_meta && *psz_meta) \
- a = encode_URI_component(psz_meta); \
+ a = strdup(psz_meta); \
free(psz_meta); \
} while (0)
--
1.7.9
More information about the vlc-devel
mailing list