[][src]Function stainless_ffmpeg_sys::avcodec_default_get_buffer2

pub unsafe extern "C" fn avcodec_default_get_buffer2(
    s: *mut AVCodecContext,
    frame: *mut AVFrame,
    flags: c_int
) -> c_int

The default callback for AVCodecContext.get_buffer2(). It is made public so it can be called by custom get_buffer2() implementations for decoders without AV_CODEC_CAP_DR1 set.