[vlc-commits] test/media: fix arguments order
Thomas Guillem
git at videolan.org
Sun Apr 17 07:22:33 CEST 2016
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Apr 14 12:41:17 2016 +0200| [d66f670ecd947c3ac0d404bb3dfbcd4fa76fd0be] | committer: Thomas Guillem
test/media: fix arguments order
In order to match libvlc ones.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d66f670ecd947c3ac0d404bb3dfbcd4fa76fd0be
---
test/libvlc/media.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/test/libvlc/media.c b/test/libvlc/media.c
index fccd93e..85f32f7 100644
--- a/test/libvlc/media.c
+++ b/test/libvlc/media.c
@@ -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_init();
- 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;
}
More information about the vlc-commits
mailing list