vlc | branch: master | Alexandre Janniaux <[email protected]> | Fri Aug 23 12:37:44 2019 +0200| [f0622630cecd864fd3d99b7b80d61a2fbd9d3cd9] | committer: Thomas Guillem
kms: avoid printing NULL It fixes the following warning: ā%4sā directive argument is null [-Wformat-overflow=] Signed-off-by: Thomas Guillem <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f0622630cecd864fd3d99b7b80d61a2fbd9d3cd9 --- modules/video_output/kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/video_output/kms.c b/modules/video_output/kms.c index 025a4a2f79..7626254b65 100644 --- a/modules/video_output/kms.c +++ b/modules/video_output/kms.c @@ -732,7 +732,7 @@ static int Open(vout_display_t *vd, const vout_display_cfg_t *cfg, chroma = NULL; } else { sys->vlc_fourcc = fmtp->i_chroma; - msg_Dbg(vd, "Chroma %4s invalid, using default", chroma); + msg_Dbg(vd, "Chroma not defined, using default"); } chroma = var_InheritString(vd, "kms-drm-chroma"); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
