Fix crash when dragging video into VSE timeline
Caused by NULL dereference in strip overlap handling (expand to fit), because `time_dependent_strips` strip collection is not created. Check if strip collection is provided in `query_right_side_strips()`.
This commit is contained in:
parent
09a5443f20
commit
3a98dc6812
|
@ -309,7 +309,7 @@ static SeqCollection *query_right_side_strips(const Scene *scene,
|
|||
|
||||
SeqCollection *collection = SEQ_collection_create(__func__);
|
||||
LISTBASE_FOREACH (Sequence *, seq, seqbase) {
|
||||
if (SEQ_collection_has_strip(seq, time_dependent_strips)) {
|
||||
if (time_dependent_strips != NULL && SEQ_collection_has_strip(seq, time_dependent_strips)) {
|
||||
continue;
|
||||
}
|
||||
if (SEQ_collection_has_strip(seq, transformed_strips)) {
|
||||
|
|
Loading…
Reference in New Issue