diff options
-rw-r--r-- | intern/audaspace/intern/AUD_Mixer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/audaspace/intern/AUD_Mixer.cpp b/intern/audaspace/intern/AUD_Mixer.cpp index 299388b558b..b2704602a89 100644 --- a/intern/audaspace/intern/AUD_Mixer.cpp +++ b/intern/audaspace/intern/AUD_Mixer.cpp @@ -59,7 +59,7 @@ AUD_IReader* AUD_Mixer::prepare(AUD_IReader* reader) m_resampler->setReader(reader); reader = m_resampler->createReader(); - if(reader->getSpecs().channels != m_specs.channels) + if(reader != NULL && reader->getSpecs().channels != m_specs.channels) { m_mapper->setReader(reader); reader = m_mapper->createReader(); |