Couldn't this and the previous `else if` be combined into:

    if (cc_type == CCTYPE_708_ADD) {
      if (cc_valid) {
        ...
      } else {
        ...
      }
    }