Skip to content

Commit

Permalink
fix wrong skip for single byte chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
jerch committed Aug 30, 2021
1 parent f5239d5 commit 6ca7024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasm/decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ void decode_raster(int start, int end) {
if (ps.mode == M2) reset_line_m2();
else reset_line_m1();
ps.abort = mode_parsed(ps.mode);
if (c < c_end && !ps.abort) DECODERS[ps.mode](start, end);
if (!ps.abort) DECODERS[ps.mode](start, end);
}
}

Expand Down

0 comments on commit 6ca7024

Please sign in to comment.