aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-01-28 13:03:00 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-01-28 13:03:00 +0000
commitb6d8148a8db5b5e22cf373ed9b464135d9e3e151 (patch)
treeb5182a2a2e5da83df446fa5c424f572c2147a588 /src
parenta09fe7170f1e3ff3b7a341367bac4a5b1556839a (diff)
downloadqmmp-b6d8148a8db5b5e22cf373ed9b464135d9e3e151.tar.gz
qmmp-b6d8148a8db5b5e22cf373ed9b464135d9e3e151.tar.bz2
qmmp-b6d8148a8db5b5e22cf373ed9b464135d9e3e151.zip
fixed crash when changing decoder (#1074)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9668 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
-rw-r--r--src/qmmp/qmmpaudioengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmmp/qmmpaudioengine.cpp b/src/qmmp/qmmpaudioengine.cpp
index 3f34e17ef..d3f4b28ec 100644
--- a/src/qmmp/qmmpaudioengine.cpp
+++ b/src/qmmp/qmmpaudioengine.cpp
@@ -459,7 +459,7 @@ void QmmpAudioEngine::run()
m_output->wait();
delete m_output;
m_output = createOutput();
- m_dithering->setFormats(m_decoders.head()->audioParameters().format(),
+ m_dithering->setFormats(m_decoder->audioParameters().format(),
m_output->outputAudioParameters().format());
if(m_output)
{