Function avcodec_default_get_encode_buffer
pub unsafe extern "C" fn avcodec_default_get_encode_buffer(
s: *mut AVCodecContext,
pkt: *mut AVPacket,
flags: i32,
) -> i32
Expand description
The default callback for AVCodecContext.get_encode_buffer(). It is made public so it can be called by custom get_encode_buffer() implementations for encoders without AV_CODEC_CAP_DR1 set.