summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-06 09:13:16 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-06 09:18:18 +0200
commite19893b91326e53868136bbf0f2cf6835344cc7c (patch)
treed05267af5cd516c9c7f8eec48977516546c6ef45 /tracker-hatire
parenta2f5079b3dc4ca97961879c81df39660700120cb (diff)
tracker/hatire: prevent infinite loop when no end marker and start at index 0
Diffstat (limited to 'tracker-hatire')
-rwxr-xr-xtracker-hatire/ftnoir_tracker_hat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-hatire/ftnoir_tracker_hat.cpp b/tracker-hatire/ftnoir_tracker_hat.cpp
index 22d0b2c8..1ac0a1ad 100755
--- a/tracker-hatire/ftnoir_tracker_hat.cpp
+++ b/tracker-hatire/ftnoir_tracker_hat.cpp
@@ -122,7 +122,7 @@ void hatire::data(double *data)
{
bool ok = true;
// resync frame
- int index = data_read.indexOf(Begin);
+ int index = data_read.indexOf(Begin, 1);
if (index == -1)
{
ok = false;