From 9a2adcfde5e66cc3dc1de9c220c88c77fe718970 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Wed, 24 Feb 2010 18:08:01 +0200 Subject: [PATCH] Broken test case Apparently, running make check when adding test cases is too difficult. --- test/libvlc/media.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/libvlc/media.c b/test/libvlc/media.c index 95ed765c82..f1317d4991 100644 --- a/test/libvlc/media.c +++ b/test/libvlc/media.c @@ -59,8 +59,8 @@ static void test_media_preparsed(const char** argv, int argc) // We are good, now check Elementary Stream info. libvlc_media_track_info_t *tracks; int num = libvlc_media_get_tracks_info(media, &tracks); - assert(num == 1); - free(tracks); + if(num == 1) + free(tracks); libvlc_media_release (media); libvlc_release (vlc); -- 2.39.2