summaryrefslogtreecommitdiff
path: root/src/xine-engine/configfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/configfile.c')
-rw-r--r--src/xine-engine/configfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/configfile.c b/src/xine-engine/configfile.c
index 507f0a81d..ca82c7b9e 100644
--- a/src/xine-engine/configfile.c
+++ b/src/xine-engine/configfile.c
@@ -371,7 +371,7 @@ static const char *config_translate_key (const char *key, char **tmp) {
*tmp = NULL;
if (!strncmp (key, "decoder.", 8) &&
!strcmp (key + (trans = strlen (key)) - 9, "_priority")) {
- asprintf (tmp, "engine.decoder_priorities.%.*s", trans - 17, key + 8);
+ *tmp = _x_asprintf ("engine.decoder_priorities.%.*s", trans - 17, key + 8);
return *tmp;
}