pub unsafe extern "C" fn ff_alloc_extradata(
par: *mut AVCodecParameters,
size: c_int,
) -> c_int
Expand description
Allocate extradata with additional AV_INPUT_BUFFER_PADDING_SIZE at end which is always set to 0.
Previously allocated extradata in par will be freed.
@param size size of extradata @return 0 if OK, AVERROR_xxx on error