[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:
Herman Chen
2016-09-06 14:05:11 +08:00
parent f47309f8dc
commit 009bc1fc0d
2 changed files with 17 additions and 17 deletions

View File

@@ -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,