Return AVERROR(EINVAL) when invalid width and/or height are specified to