From 3166d8832130ffeaae449ccf9425384830e6fb41 Mon Sep 17 00:00:00 2001 From: Herman Chen Date: Wed, 27 May 2020 10:26:51 +0800 Subject: [PATCH] [test]: Add coding type detection to mpi_dec_test Change-Id: Ie6353184dab453e479c4f61137f208276386367c Signed-off-by: Herman Chen --- test/mpi_dec_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/mpi_dec_test.c b/test/mpi_dec_test.c index a82edefd..5bd265c7 100644 --- a/test/mpi_dec_test.c +++ b/test/mpi_dec_test.c @@ -766,6 +766,7 @@ static RK_S32 mpi_dec_test_parse_options(int argc, char **argv, MpiDecTestCmd* c strncpy(cmd->file_input, next, MAX_FILE_NAME_LENGTH); cmd->file_input[strlen(next)] = '\0'; cmd->have_input = 1; + name_to_coding_type(cmd->file_input, &cmd->type); } else { mpp_err("input file is invalid\n"); goto PARSE_OPINIONS_OUT;