[vlc-devel] commit: Only print CPU capabilities if there are any. (Ramiro Polla )
git version control
git at videolan.org
Mon Jan 18 21:41:22 CET 2010
vlc | branch: master | Ramiro Polla <ramiro.polla at gmail.com> | Mon Jan 18 17:12:00 2010 -0200| [3bb2fbc5cc4b9a92789b86b7cccf8c34421cda3f] | committer: Rémi Denis-Courmont
Only print CPU capabilities if there are any.
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3bb2fbc5cc4b9a92789b86b7cccf8c34421cda3f
---
src/libvlc.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/libvlc.c b/src/libvlc.c
index b77311d..b6b9901 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
More information about the vlc-devel
mailing list