Destroying a Channel

Ascend 310 acldvpp API

Ascend 310P hi_mpi API

What You Need to Do

Destroy a channel:

acldvppDestroyChannel

Destroy a channel:

hi_mpi_vdec_destroy_chn

Modify your code to use the hi_mpi_vdec_destroy_chn API.

Note that before calling the hi_mpi API to destroy a channel, call the hi_mpi_vdec_query_status API to obtain the decoder status and check whether all image data is decoded, and then destroy the channel.