[vlc-commits] bluray: shut down a warning
Jean-Baptiste Kempf
git at videolan.org
Mon Feb 10 16:12:31 CET 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Feb 10 16:12:20 2014 +0100| [c776aa19a0a7189acd1396b5e19998d2a51c7c80] | committer: Jean-Baptiste Kempf
bluray: shut down a warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c776aa19a0a7189acd1396b5e19998d2a51c7c80
---
modules/access/bluray.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 5d469ce..bc4c8e9 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -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;
}
}
More information about the vlc-commits
mailing list