[][src]Function ffmpeg_dev::sys::ff_get_extradata

pub unsafe extern "C" fn ff_get_extradata(
    s: *mut AVFormatContext,
    par: *mut AVCodecParameters,
    pb: *mut AVIOContext,
    size: c_int
) -> c_int

Allocate extradata with additional AV_INPUT_BUFFER_PADDING_SIZE at end which is always set to 0 and fill it from pb.

@param size size of extradata @return >= 0 if OK, AVERROR_xxx on error