Skip to content
Commit d0ca82c0 authored by Harald Albrecht's avatar Harald Albrecht Committed by Vincent Pinon
Browse files

Timeline incorrectly checks track index bounds crash

Class Timeline incorrectly checks the bounds for track indices:
the upper bound is checked against greater than track.count(),
where in fact the indices run from 0 to count-1.

However, this masks the underlying problem with converted Kdenlive projects:
when adding new tracks, the index gets out of bounds,
so this needs to be fixed too.
This patch just fixes the crash in itself but not the underlying problem
of handing in an out-of-bounds index to these functions to be fixed.

REVIEW: 125707
parent 6c9464d4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment