diff options
-rw-r--r-- | intern/audaspace/intern/AUD_SequencerReader.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/intern/audaspace/intern/AUD_SequencerReader.cpp b/intern/audaspace/intern/AUD_SequencerReader.cpp index 69293205498..5b546ca9d58 100644 --- a/intern/audaspace/intern/AUD_SequencerReader.cpp +++ b/intern/audaspace/intern/AUD_SequencerReader.cpp @@ -188,7 +188,16 @@ void AUD_SequencerReader::read(int & length, sample_t* & buffer) delete strip->reader; if(strip->old_sound) - strip->reader = m_mixer->prepare(strip->old_sound->createReader()); + { + try + { + strip->reader = m_mixer->prepare(strip->old_sound->createReader()); + } + catch(AUD_Exception) + { + strip->reader = NULL; + } + } else strip->reader = NULL; } |