Commit 9a2adcfd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Broken test case

Apparently, running make check when adding test cases is too difficult.
parent 55abf4ec
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment