audio: fix messed up assert()

This made no sense and always evaluated to true.
This commit is contained in:
wm4 2015-05-07 23:26:33 +02:00
parent 55e777f10b
commit 7b09654c33
1 changed files with 1 additions and 1 deletions

View File

@ -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