wmv2_decoder_decode

Function wmv2_decoder_decode 

Source
#[unsafe(no_mangle)]
pub extern "C" fn wmv2_decoder_decode( handle: *mut c_void, payload: *const u8, payload_len: usize, is_key_frame: i32, ) -> i32
Expand description

Decode one assembled WMV2 frame payload.

Returns: 1 = decoded frame available 0 = no frame (header not found) -1 = invalid arguments -2 = decode error