diff options
author | Joerg Mueller <nexyon@gmail.com> | 2011-10-22 22:08:26 +0400 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2011-10-22 22:08:26 +0400 |
commit | 726fa618172733f3c4dc5ee85642829400e68f7b (patch) | |
tree | 36a3b3bf86f39b81c5ee4a9a575ea5d6a442bcd3 /intern | |
parent | 29f279e43dfac8e1e08dbe272d7092eab5a8067d (diff) |
Fix for an unhandled exception. Campbell: please include in 2.60a.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/audaspace/intern/AUD_SequencerReader.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/intern/audaspace/intern/AUD_SequencerReader.cpp b/intern/audaspace/intern/AUD_SequencerReader.cpp index c8af1161530..23d50c78508 100644 --- a/intern/audaspace/intern/AUD_SequencerReader.cpp +++ b/intern/audaspace/intern/AUD_SequencerReader.cpp @@ -107,8 +107,14 @@ void AUD_SequencerReader::read(int& length, bool& eos, sample_t* buffer) if(result < 0) { - handle = new AUD_SequencerHandle(entry, m_device); - handles.push_front(handle); + try + { + handle = new AUD_SequencerHandle(entry, m_device); + handles.push_front(handle); + } + catch(AUD_Exception&) + { + } eit++; } else if(result == 0) |