From 3bb2fbc5cc4b9a92789b86b7cccf8c34421cda3f Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Mon, 18 Jan 2010 17:12:00 -0200 Subject: [PATCH] Only print CPU capabilities if there are any. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémi Denis-Courmont --- src/libvlc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libvlc.c b/src/libvlc.c index b77311d5fc..b6b990188e 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -785,7 +785,8 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, p_capabilities[sizeof(p_capabilities) - 1] = '\0'; #endif - msg_Dbg( p_libvlc, "CPU has capabilities %s", p_capabilities ); + if (p_capabilities[0]) + msg_Dbg( p_libvlc, "CPU has capabilities %s", p_capabilities ); /* * Choose the best memcpy module -- 2.39.2