mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
channelmap: fix parse
This commit is contained in:
parent
fe932db2c6
commit
b90101bf5b
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ pa_channel_map *pa_channel_map_parse(pa_channel_map *rmap, const char *s) {
|
||||||
|
|
||||||
map.channels = 0;
|
map.channels = 0;
|
||||||
|
|
||||||
tokens = pw_split_strv(s, ",", -1, &n_tokens);
|
tokens = pw_split_strv(s, ",", INT_MAX, &n_tokens);
|
||||||
|
|
||||||
for (i = 0; i < n_tokens; i++) {
|
for (i = 0; i < n_tokens; i++) {
|
||||||
pa_channel_position_t f;
|
pa_channel_position_t f;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue