[][src]Function ffmpeg_dev::sys::av_des_init

pub unsafe extern "C" fn av_des_init(
    d: *mut AVDES,
    key: *const u8,
    key_bits: c_int,
    decrypt: c_int
) -> c_int

@brief Initializes an AVDES context.

@param key_bits must be 64 or 192 @param decrypt 0 for encryption/CBC-MAC, 1 for decryption @return zero on success, negative value otherwise