*: mark code that cannot support oversized POD values

This should be supported, but lots of code doesn't support it yet.
This commit is contained in:
Demi Marie Obenour 2025-07-25 17:18:48 -04:00
parent fcfe01a0be
commit babcf6d118
5 changed files with 10 additions and 6 deletions

View file

@ -399,7 +399,7 @@ enum_filter_format(uint32_t media_type, int32_t media_subtype,
if (index == 0)
video_format = values[0];
} else {
if (index < n_values - 1)
if (index < n_values - 1 && val->size == sizeof(values[0]))
video_format = values[index + 1];
}
} else {