[][src]Function stainless_ffmpeg_sys::av_cast5_init

pub unsafe extern "C" fn av_cast5_init(
    ctx: *mut AVCAST5,
    key: *const u8,
    key_bits: c_int
) -> c_int

Initialize an AVCAST5 context.

@param ctx an AVCAST5 context @param key a key of 5,6,...16 bytes used for encryption/decryption @param key_bits number of keybits: possible are 40,48,...,128 @return 0 on success, less than 0 on failure