mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
*: 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:
parent
fcfe01a0be
commit
babcf6d118
5 changed files with 10 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue