From 09d5f89c4f8af919f6726ce80278724cb41bf2d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Sat, 6 Feb 2010 17:42:31 +0100 Subject: [PATCH] Fix test_libvlc meta compilation. --- test/libvlc/meta.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/libvlc/meta.c b/test/libvlc/meta.c index 49403e2d61..2b621c054b 100644 --- a/test/libvlc/meta.c +++ b/test/libvlc/meta.c @@ -22,7 +22,7 @@ * http://www.gnu.org/copyleft/gpl.html * **********************************************************************/ -#include +#include #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 -- 2.39.5