[vlc-devel] [PATCH 3/6] test: player: move ctx_destroy down
Thomas Guillem
thomas at gllm.fr
Fri May 10 11:06:00 CEST 2019
No functional changes.
---
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 4e55a88db8..291aeb2fea 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)
{
--
2.20.1
More information about the vlc-devel
mailing list