diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-06 09:13:16 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-06 09:18:18 +0200 |
commit | e19893b91326e53868136bbf0f2cf6835344cc7c (patch) | |
tree | d05267af5cd516c9c7f8eec48977516546c6ef45 /tracker-hatire | |
parent | a2f5079b3dc4ca97961879c81df39660700120cb (diff) |
tracker/hatire: prevent infinite loop when no end marker and start at index 0
Diffstat (limited to 'tracker-hatire')
-rwxr-xr-x | tracker-hatire/ftnoir_tracker_hat.cpp | 2 |
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; |