mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-07 19:22:15 +00:00
multiudpsink: pass length parameter to g_convert
This commit is contained in:
parent
188725811f
commit
eab08d67b3
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ socket_last_error_message ()
|
||||||
if (FAILED (result)) {
|
if (FAILED (result)) {
|
||||||
return g_strdup ("failed to get error message from system");
|
return g_strdup ("failed to get error message from system");
|
||||||
} else {
|
} else {
|
||||||
return g_convert (buf, "UTF-16", "UTF-8", NULL, NULL, NULL);
|
return g_convert (buf, -1, "UTF-16", "UTF-8", NULL, NULL, NULL);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
return g_strdup (g_strerror (errno));
|
return g_strdup (g_strerror (errno));
|
||||||
|
|
Loading…
Reference in a new issue