Function ff_codec_open2_recursive

Source
pub unsafe extern "C" fn ff_codec_open2_recursive(
    avctx: *mut AVCodecContext,
    codec: *const AVCodec,
    options: *mut *mut AVDictionary,
) -> c_int
Expand description

Call avcodec_open2 recursively by decrementing counter, unlocking mutex, calling the function and then restoring again. Assumes the mutex is already locked