mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
audio: fix messed up assert()
This made no sense and always evaluated to true.
This commit is contained in:
parent
55e777f10b
commit
7b09654c33
@ -392,7 +392,7 @@ void mp_chmap_get_reorder(int src[MP_NUM_CHANNELS], const struct mp_chmap *from,
|
||||
}
|
||||
|
||||
for (int n = 0; n < to->num; n++)
|
||||
assert(to->speaker[n] == src[n] < 0 ? -1 : from->speaker[src[n]]);
|
||||
assert(src[n] < 0 || (to->speaker[n] == from->speaker[src[n]]));
|
||||
}
|
||||
|
||||
// Performs the difference between a and b, and store it in diff. If b has
|
||||
|
Loading…
Reference in New Issue
Block a user