From: RĂ©mi Duraffort Date: Sat, 6 Feb 2010 16:42:31 +0000 (+0100) Subject: Fix test_libvlc meta compilation. X-Git-Tag: 1.1.0-ff~269 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=09d5f89c4f8af919f6726ce80278724cb41bf2d3;p=vlc Fix test_libvlc meta compilation. --- 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