[vlc-commits] test: player: move ctx_destroy down
Thomas Guillem
git at videolan.org
Fri May 10 14:36:34 CEST 2019
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri May 10 10:29:04 2019 +0200| [e7b17d1dc9869ec0cfc52edd248d4a77831758e5] | committer: Thomas Guillem
test: player: move ctx_destroy down
No functional changes.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e7b17d1dc9869ec0cfc52edd248d4a77831758e5
---
test/src/input/player.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/test/src/input/player.c b/test/src/input/player.c
index a99f0f09be..356fa21ec1 100644
--- a/test/src/input/player.c
+++ b/test/src/input/player.c
@@ -192,14 +192,6 @@ get_ctx(vlc_player_t *player, void *data)
return ctx;
}
-static void
-ctx_destroy(struct ctx *ctx)
-{
-#define X(type, name) vlc_vector_destroy(&ctx->report.name);
-REPORT_LIST
-#undef X
-}
-
static input_item_t *
player_get_next(vlc_player_t *player, void *data)
{
@@ -1742,6 +1734,14 @@ test_outputs(struct ctx *ctx)
test_end(ctx);
}
+static void
+ctx_destroy(struct ctx *ctx)
+{
+#define X(type, name) vlc_vector_destroy(&ctx->report.name);
+REPORT_LIST
+#undef X
+}
+
int
main(void)
{
More information about the vlc-commits
mailing list