]> git.sesse.net Git - vlc/commitdiff
Fix test_libvlc meta compilation.
authorRémi Duraffort <ivoire@videolan.org>
Sat, 6 Feb 2010 16:42:31 +0000 (17:42 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Mon, 8 Feb 2010 21:25:38 +0000 (22:25 +0100)
test/libvlc/meta.c

index 49403e2d61039d6ce3c95f20c412e2aba43c85d9..2b621c054ba432021399aa19a8d2285bb6a35887 100644 (file)
@@ -22,7 +22,7 @@
  *  http://www.gnu.org/copyleft/gpl.html                              *
  **********************************************************************/
 
-#include <strings.h>
+#include <string.h>
 
 #include "test.h"
 
@@ -37,8 +37,8 @@ static void test_meta (const char ** argv, int argc)
     vlc = libvlc_new (argc, argv);
     assert (vlc != NULL);
 
-    media = libvlc_media_new (vlc, "samples/meta.sample", &ex);
-    catch ();
+    media = libvlc_media_new (vlc, "samples/meta.sample");
+    assert( media );
 
     /* Tell that we are interested in this precise meta data
      * This is needed to trigger meta data reading