[vlc-devel] commit: Revert "Broken test case" (Pierre d'Herbemont )
git version control
git at videolan.org
Thu Feb 25 21:39:44 CET 2010
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Feb 25 21:31:22 2010 +0100| [2dbdde0d0ab5359ced9121940470824b49ebfa7d] | committer: Pierre d'Herbemont
Revert "Broken test case"
This reverts commit 9a2adcfde5e66cc3dc1de9c220c88c77fe718970.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2dbdde0d0ab5359ced9121940470824b49ebfa7d
---
test/libvlc/media.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/libvlc/media.c b/test/libvlc/media.c
index f1317d4..95ed765 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);
More information about the vlc-devel
mailing list