diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-12-28 21:11:16 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-12-28 21:11:16 +0000 |
| commit | 8987e9729f4f15c979fa19760aae192377cd1999 (patch) | |
| tree | c89bc02725a2cbe02dcd8d55eb8fcbd9b658b8da | |
| parent | 1297424eeb3d2c44fa4836caf859344f4ec92610 (diff) | |
| download | qmmp-8987e9729f4f15c979fa19760aae192377cd1999.tar.gz qmmp-8987e9729f4f15c979fa19760aae192377cd1999.tar.bz2 qmmp-8987e9729f4f15c979fa19760aae192377cd1999.zip | |
small coding style change
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9171 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/plugins/General/converter/converter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/converter/converter.cpp b/src/plugins/General/converter/converter.cpp index 620ecf326..8466405cb 100644 --- a/src/plugins/General/converter/converter.cpp +++ b/src/plugins/General/converter/converter.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2011-2019 by Ilya Kotov * + * Copyright (C) 2011-2020 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -309,7 +309,7 @@ bool Converter::convert(Decoder *decoder, FILE *file, bool use16bit) int outSampleSize = AudioParameters::sampleSize(outFormat); unsigned char input_buffer[QMMP_BLOCK_FRAMES * ap.frameSize() * 4]; - float converter_buffer[QMMP_BLOCK_FRAMES * ap.channels() * 4]; + float converter_buffer[QMMP_BLOCK_FRAMES * ap.channels() * sizeof(float)]; unsigned char output_buffer[QMMP_BLOCK_FRAMES * outSampleSize * ap.channels() * 4]; emit progress(0); |
