1l: correct argument order in avcodec_check_dimensions