2D stabilizer: Fix compilation error in debug mode

This commit is contained in:
Sergey Sharybin
2016-08-16 14:24:06 +02:00
parent e3576c7bf4
commit cd5116e914

View File

@@ -360,7 +360,7 @@ static void retrieve_next_lower_usable_frame(StabContext *ctx,
int *next_lower)
{
MovieTrackingMarker *markers = track->markers;
BLI_assert(0 <= i && i < end);
BLI_assert(0 <= i && i < track->markersnr);
while (i >= 0 &&
(markers[i].framenr > ref_frame ||
is_effectively_disabled(ctx, track, &markers[i])))