[−][src]Function ffmpeg_dev::sys::ff_thread_get_format
pub unsafe extern "C" fn ff_thread_get_format(
avctx: *mut AVCodecContext,
fmt: *const AVPixelFormat
) -> AVPixelFormat
Wrapper around get_format() for frame-multithreaded codecs. Call this function instead of avctx->get_format(). Cannot be called after the codec has called ff_thread_finish_setup().
@param avctx The current context. @param fmt The list of available formats.