diff options
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r-- | gtk/src/hb-backend.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index 692e17c33..52e94b9f3 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -1500,10 +1500,10 @@ ghb_subtitle_track_lang(GValue *settings, gint track) goto fail; sub = hb_list_item( title->list_subtitle, track); if (sub != NULL) - return g_strdup(sub->iso639_2); + return sub->iso639_2; fail: - return g_strdup("und"); + return "und"; } gint @@ -2370,7 +2370,7 @@ ghb_get_source_audio_lang(gint titleindex, gint track) if (audio == NULL) return lang; - lang = g_strdup(audio->lang.iso639_2); + lang = audio->lang.iso639_2; return lang; } |