diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-04-01 11:37:54 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-04-01 11:37:54 +0200 |
commit | 57b61faaa558fc5d956f464907d8bfa97b0c2067 (patch) | |
tree | 42092e3c9220ec99fe9dbfafb9570607996c7446 | |
parent | f368d158230a82e9bca80750db08d4ceaa357640 (diff) | |
download | ODR-AudioEnc-57b61faaa558fc5d956f464907d8bfa97b0c2067.tar.gz ODR-AudioEnc-57b61faaa558fc5d956f464907d8bfa97b0c2067.tar.bz2 ODR-AudioEnc-57b61faaa558fc5d956f464907d8bfa97b0c2067.zip |
Fix libtoolame-dab buffer init in mono
-rw-r--r-- | src/dabplus-enc.cpp | 2 |
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 |