[vlc-devel] commit: Fix test_libvlc meta compilation. ( Rémi Duraffort )
git version control
git at videolan.org
Mon Feb 8 22:25:47 CET 2010
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Feb 6 17:42:31 2010 +0100| [09d5f89c4f8af919f6726ce80278724cb41bf2d3] | committer: Rémi Duraffort
Fix test_libvlc meta compilation.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=09d5f89c4f8af919f6726ce80278724cb41bf2d3
---
test/libvlc/meta.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/libvlc/meta.c b/test/libvlc/meta.c
index 49403e2..2b621c0 100644
--- a/test/libvlc/meta.c
+++ b/test/libvlc/meta.c
@@ -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
More information about the vlc-devel
mailing list