mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Fixed error handling
This commit is contained in:
parent
74cf139b01
commit
69951fe248
@ -53,7 +53,7 @@ bool JLS::processRunMode(BitStream &bs, quint16 col, quint16 &samples)
|
|||||||
|
|
||||||
if (cnt >= col) {
|
if (cnt >= col) {
|
||||||
if (!bs.read(i + 1))
|
if (!bs.read(i + 1))
|
||||||
return 3;
|
return false;
|
||||||
|
|
||||||
samples = col;
|
samples = col;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user