summaryrefslogtreecommitdiffstats
path: root/audio/aconverter.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/aconverter.c')
-rw-r--r--audio/aconverter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/aconverter.c b/audio/aconverter.c
index f4efc61dc6..283e12ba32 100644
--- a/audio/aconverter.c
+++ b/audio/aconverter.c
@@ -411,7 +411,7 @@ static bool reorder_planes(struct mp_aframe *mpa, int *reorder,
int next_na = 0;
for (int n = 0; n < num_planes; n++)
- next_na += newmap->speaker[n] == MP_SPEAKER_ID_NA;
+ next_na += newmap->speaker[n] != MP_SPEAKER_ID_NA;
for (int n = 0; n < num_planes; n++) {
int src = reorder[n];