mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 17:46:50 +08:00
[misc]: format coding style and fix comment error
Change-Id: I70d8688971b298be6af07150504b08b7d6aa32c8 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -294,12 +294,12 @@ MPP_RET mpp_enc_init(MppEnc **enc, MppCodingType coding)
|
|||||||
|
|
||||||
ret = controller_init(&controller, &controller_cfg);
|
ret = controller_init(&controller, &controller_cfg);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
mpp_err_f("could not init parser\n");
|
mpp_err_f("could not init controller\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
cb.callBack = hal_enc_callback;
|
cb.callBack = hal_enc_callback;
|
||||||
cb.opaque = controller;
|
cb.opaque = controller;
|
||||||
// then init hal with task count from parser
|
// then init hal with task count from controller
|
||||||
MppHalCfg hal_cfg = {
|
MppHalCfg hal_cfg = {
|
||||||
MPP_CTX_ENC,
|
MPP_CTX_ENC,
|
||||||
coding,
|
coding,
|
||||||
|
Reference in New Issue
Block a user