Function avcodec_align_dimensions
pub unsafe extern "C" fn avcodec_align_dimensions(
s: *mut AVCodecContext,
width: *mut i32,
height: *mut i32,
)
Expand description
Modify width and height values so that they will result in a memory buffer that is acceptable for the codec if you do not use any horizontal padding.
May only be used if a codec with AV_CODEC_CAP_DR1 has been opened.