[vlc-devel] commit: test: Use my copyright in libvlc/meta.c, and make sure the artist isn't an empty string. (Pierre d'Herbemont )

git version control git at videolan.org
Sat Apr 19 03:34:28 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Apr 19 03:34:43 2008 +0200| [4c22822980aac3a89898f6aaa2fb117114adc4b0]

test: Use my copyright in libvlc/meta.c, and make sure the artist isn't an empty string.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4c22822980aac3a89898f6aaa2fb117114adc4b0
---

 test/libvlc/meta.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/libvlc/meta.c b/test/libvlc/meta.c
index 882a57f..4f760ce 100644
--- a/test/libvlc/meta.c
+++ b/test/libvlc/meta.c
@@ -49,7 +49,7 @@ static void test_meta (const char ** argv, int argc)
     artist = libvlc_media_get_meta( media, libvlc_meta_Artist, &ex );
     catch ();
 
-    assert (artist);
+    assert (artist && *artist);
 
     free (artist);
     libvlc_media_release (media);




More information about the vlc-devel mailing list