The spec, and the implementation, says that the length of the PARAM_ENUM_NAMES parameter capability is the number of enums.

However, the example code (nullxcode, v4l, winaudio) sets the length to the length of the concatenated enum name string.

This could cause problems when attempting to get the name of an invalid enum as the search of the enum name string falls off the end.

---JvdL---