Commit d66f670e authored by Thomas Guillem's avatar Thomas Guillem

test/media: fix arguments order

In order to match libvlc ones.
parent ebda694a
......@@ -37,7 +37,7 @@ static void media_parse_ended(const libvlc_event_t *event, void *user_data)
vlc_sem_post (sem);
static void test_media_preparsed(const char** argv, int argc)
static void test_media_preparsed(int argc, const char** argv)
// We use this image file because "empty.voc" has no track.
const char * file = SRCDIR"/samples/image.jpg";
......@@ -168,7 +168,7 @@ static void test_media_subitems_media(libvlc_media_t *media, bool play)
static void test_media_subitems(const char** argv, int argc)
static void test_media_subitems(int argc, const char** argv)
const char *subitems_path = SRCDIR"/samples/subitems";
......@@ -220,8 +220,8 @@ int main (void)
test_media_preparsed (test_defaults_args, test_defaults_nargs);
test_media_subitems (test_defaults_args, test_defaults_nargs);
test_media_preparsed (test_defaults_nargs, test_defaults_args);
test_media_subitems (test_defaults_nargs, test_defaults_args);
return 0;
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