[][src]Function ffav_sys::avcodec_align_dimensions

pub unsafe extern "C" fn avcodec_align_dimensions(
    s: *mut AVCodecContext,
    width: *mut c_int,
    height: *mut c_int
)

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.