diff options
-rw-r--r-- | misc/charset_conv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/charset_conv.c b/misc/charset_conv.c index b96b9bb8c8..b611538bc1 100644 --- a/misc/charset_conv.c +++ b/misc/charset_conv.c @@ -266,7 +266,7 @@ bstr mp_charset_guess_and_conv_to_utf8(struct mp_log *log, bstr buf, const char *user_cp, int flags) { void *tmp = talloc_new(NULL); - const char *cp = mp_charset_guess(log, tmp, buf, user_cp, flags); + const char *cp = mp_charset_guess(tmp, log, buf, user_cp, flags); bstr res = mp_iconv_to_utf8(log, buf, cp, flags); talloc_free(tmp); return res; |