mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +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)) {
|
||||
return g_strdup ("failed to get error message from system");
|
||||
} 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
|
||||
return g_strdup (g_strerror (errno));
|
||||
|
|
Loading…
Reference in a new issue