We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34b1be1 commit 327765fCopy full SHA for 327765f
1 file changed
src/pixie/fileformats/jpeg.nim
@@ -877,7 +877,6 @@ proc checkRestart(state: var DecoderState) =
877
dec state.todoBeforeRestart
878
if state.todoBeforeRestart <= 0:
879
if state.pos + 1 > state.len:
880
- echo $state
881
failInvalid()
882
if state.buffer[state.pos] == 0xFF and state.buffer[state.pos+1] == jpegEndOfImage:
883
return
0 commit comments