diff options
author | Joerg Mueller <nexyon@gmail.com> | 2012-03-21 13:04:34 +0400 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2012-03-21 13:04:34 +0400 |
commit | 112ef144220e414827d9a57a81ddf27fa33804e1 (patch) | |
tree | 6833cdfa08f38a3c0a8ba71a882e841240d4507e /intern | |
parent | 6053e4f06c86a10ac44df1e9b0fd70b2357fb4a9 (diff) |
Fix for [#30499] video sequencer crashes when moving around within a sequence.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/audaspace/intern/AUD_SequencerReader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/audaspace/intern/AUD_SequencerReader.cpp b/intern/audaspace/intern/AUD_SequencerReader.cpp index 7c8fe9eef4e..2e41a99d3db 100644 --- a/intern/audaspace/intern/AUD_SequencerReader.cpp +++ b/intern/audaspace/intern/AUD_SequencerReader.cpp @@ -49,6 +49,9 @@ bool AUD_SequencerReader::isSeekable() const void AUD_SequencerReader::seek(int position) { + if(position < 0) + return; + m_position = position; for(AUD_HandleIterator it = m_handles.begin(); it != m_handles.end(); it++) |