Commit c776aa19 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

bluray: shut down a warning

parent fecca450
......@@ -516,7 +516,7 @@ static void setStreamLang(es_format_t *p_fmt,
for (int i = 0; i < i_stream_count; i++) {
if (p_fmt->i_id == p_streams[i].pid) {
free(p_fmt->psz_language);
p_fmt->psz_language = strndup(p_streams[i].lang, 3);
p_fmt->psz_language = strndup((const char *)p_streams[i].lang, 3);
return;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment