mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
[mpp_dec]: Add mpp_dec_callback
NOTE: The MppCtx should be restored for external user. Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I2a4241ddacb14196f43b29a59b46658131ebfcee
This commit is contained in:
@@ -449,7 +449,7 @@ MPP_RET mpp_create(MppCtx *ctx, MppApi **mpi)
|
||||
}
|
||||
|
||||
memset(p, 0, sizeof(*p));
|
||||
p->ctx = new Mpp();
|
||||
p->ctx = new Mpp(p);
|
||||
if (NULL == p->ctx) {
|
||||
mpp_free(p);
|
||||
mpp_err_f("failed to new Mpp\n");
|
||||
|
Reference in New Issue
Block a user