summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dabplus-enc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dabplus-enc.cpp b/src/dabplus-enc.cpp
index 4d0db0b..95e5f38 100644
--- a/src/dabplus-enc.cpp
+++ b/src/dabplus-enc.cpp
@@ -682,7 +682,7 @@ int main(int argc, char *argv[])
return err;
}
- input_buf.resize(2 * 1152 * BYTES_PER_SAMPLE);
+ input_buf.resize(channels * 1152 * BYTES_PER_SAMPLE);
}
/* We assume that we need to call the encoder