== Sequencer ==

This fixes: [#11642] VSE: crash with Speed Control and play head

Special sequence update (holding down left mouse button on a strip)
could lead to a crash when using the speed control effect, since
we didn't check properly for valid cfras (and therefore if
TStripElem is null... )
This commit is contained in:
Peter Schlaile 2008-05-16 21:04:06 +00:00
parent bbe32118ef
commit 9b2dcab02d

@ -1957,6 +1957,10 @@ static TStripElem* do_handle_speed_effect(Sequence * seq, int cfra)
se = give_tstripelem(seq, cfra);
if (!se) {
return se;
}
if (cfra_left == cfra_right ||
(s->flags & SEQ_SPEED_BLEND) == 0) {
test_and_auto_discard_ibuf(se);