code: def destroy_codec(codec):
      
      OPENJP2.opj_destroy_codec.argtypes = [CODEC_TYPE]
      OPENJP2.opj_destroy_codec.restype = ctypes.c_void_p
      OPENJP2.opj_destroy_codec(codec)
docs: Destroy a decompressor handle.
  
      Wraps the openjp2 library function opj_destroy_codec.
  
      Parameters
      ----------
      codec : CODEC_TYPE
          Decompressor handle to destroy.