mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-09-30 23:12:08 +08:00
fix[utils]: adjust format range constraint
Change-Id: I12d57955d6ad84e063784e46893b1deec90785b6 Signed-off-by: xueman.ruan <xueman.ruan@rock-chips.com>
This commit is contained in:
@@ -208,10 +208,11 @@ RK_S32 mpi_enc_opt_f(void *ctx, const char *next)
|
||||
cmd->format = format;
|
||||
return 1;
|
||||
}
|
||||
|
||||
mpp_err("invalid input format 0x%x\n", format);
|
||||
}
|
||||
}
|
||||
|
||||
mpp_err("invalid input format\n");
|
||||
cmd->format = MPP_FMT_YUV420SP;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user