From 2dbdde0d0ab5359ced9121940470824b49ebfa7d Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Thu, 25 Feb 2010 21:31:22 +0100 Subject: [PATCH] Revert "Broken test case" This reverts commit 9a2adcfde5e66cc3dc1de9c220c88c77fe718970. --- 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 f1317d4991..95ed765c82 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); - if(num == 1) - free(tracks); + assert(num == 1); + free(tracks); libvlc_media_release (media); libvlc_release (vlc); -- 2.39.2