Buffer Address Verification Error Due to Buffer Allocation with an Incorrect API

Symptom

The error information in the log is as follows:

device 0, vpc address is illegal, please make sure it has been allocated with hi_mpi_dvpp_malloc or acldvppMalloc.

Possible Cause

According to the log information, the specified API is not used to allocate buffer.

Solution

Check the code to see whether acldvppMalloc in media data processing V1 or hi_mpi_dvpp_malloc in media data processing V2 is used to allocate buffer for storing the VPC input or output data.