Updated on 2022-03-13 GMT+08:00

DestroyVenc

Syntax

int32_t DestroyVenc(int32_t vencHandle)

Function

Releases the VENC instance created by calling CreateVenc and closes the VENC executor.

Input

Handle to the int32_t VENC instance, which is the return value of the CreateVenc function

Output

None

Return Value

  • 0: success
  • –1: failure

Instructions

None

Restriction

To continue to invoke the VENC after DestroyVenc is called, create a VENC instance.