Destroying a Channel

Ascend 310 aclvdec API

Ascend 310P hi_mpi API

What You Need to Do

Destroy a channel:

aclvdecDestroyChannel

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 stream data is decoded, and then destroy the channel.