summaryrefslogtreecommitdiffstats
path: root/Whisper/MF
diff options
context:
space:
mode:
authorKonstantin <const@const.me>2023-01-28 16:15:39 +0100
committerKonstantin <const@const.me>2023-01-28 16:15:39 +0100
commitcfd20a0f796ab6cc046b080bb7af8967cb7c361b (patch)
tree69f01d41b5dffd8cba7062313a815749568270e2 /Whisper/MF
parente1e3ac09a97d602a6ea60ff1928de77de81d99a7 (diff)
Bugfix, stereo PCM handling
Diffstat (limited to 'Whisper/MF')
-rw-r--r--Whisper/MF/PcmReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Whisper/MF/PcmReader.cpp b/Whisper/MF/PcmReader.cpp
index fa39191..b8387aa 100644
--- a/Whisper/MF/PcmReader.cpp
+++ b/Whisper/MF/PcmReader.cpp
@@ -98,7 +98,7 @@ namespace
memmove( rdi.mono.data(), rdi.mono.data() + amount, block * 4 );
rdi.mono.resize( block );
memmove( rdi.stereo.data(), rdi.stereo.data() + amount * 2, block * 8 );
- rdi.mono.resize( block * 2 );
+ rdi.stereo.resize( block * 2 );
}
else
{