From 1894648650192d918021d0ddf143bbc59b62b46e Mon Sep 17 00:00:00 2001 From: Herman Chen Date: Wed, 13 Oct 2021 15:44:51 +0800 Subject: [PATCH] [test]: Rename data type in mpi_dec_mt_test Change-Id: Ia060fea489f3e5b63f1098db64fd5e0ea3dbd463 Signed-off-by: Herman Chen --- test/mpi_dec_mt_test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/mpi_dec_mt_test.c b/test/mpi_dec_mt_test.c index a46765eb..28ab5c6f 100644 --- a/test/mpi_dec_mt_test.c +++ b/test/mpi_dec_mt_test.c @@ -56,11 +56,11 @@ typedef struct { /* runtime flag */ RK_U32 quiet; -} MpiDecLoopData; +} MpiDecMtLoopData; void *thread_input(void *arg) { - MpiDecLoopData *data = (MpiDecLoopData *)arg; + MpiDecMtLoopData *data = (MpiDecMtLoopData *)arg; MppCtx ctx = data->ctx; MppApi *mpi = data->mpi; char *buf = data->buf; @@ -110,7 +110,7 @@ void *thread_input(void *arg) void *thread_output(void *arg) { - MpiDecLoopData *data = (MpiDecLoopData *)arg; + MpiDecMtLoopData *data = (MpiDecMtLoopData *)arg; MppCtx ctx = data->ctx; MppApi *mpi = data->mpi; MppFrame frame = NULL; @@ -275,7 +275,7 @@ int mt_dec_decode(MpiDecTestCmd *cmd) pthread_t thd_in; pthread_t thd_out; pthread_attr_t attr; - MpiDecLoopData data; + MpiDecMtLoopData data; mpp_log("mpi_dec_test start\n"); memset(&data, 0, sizeof(data));