Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2011-10-22 22:08:26 +0400
committerJoerg Mueller <nexyon@gmail.com>2011-10-22 22:08:26 +0400
commit726fa618172733f3c4dc5ee85642829400e68f7b (patch)
tree36a3b3bf86f39b81c5ee4a9a575ea5d6a442bcd3 /intern/audaspace
parent29f279e43dfac8e1e08dbe272d7092eab5a8067d (diff)
Fix for an unhandled exception. Campbell: please include in 2.60a.
Diffstat (limited to 'intern/audaspace')
-rw-r--r--intern/audaspace/intern/AUD_SequencerReader.cpp10
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)