[][src]Function ffmpeg_dev::sys::ff_thread_get_buffer

pub unsafe extern "C" fn ff_thread_get_buffer(
    avctx: *mut AVCodecContext,
    f: *mut ThreadFrame,
    flags: c_int
) -> c_int

Wrapper around get_buffer() for frame-multithreaded codecs. Call this function instead of ff_get_buffer(f). Cannot be called after the codec has called ff_thread_finish_setup().

@param avctx The current context. @param f The frame to write into.