From 4984513e227a06d898536b27d051bb75c13cd829 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Mon, 16 May 2022 18:25:53 -0500 Subject: [PATCH] f --- src/pixie/fileformats/jpeg.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pixie/fileformats/jpeg.nim b/src/pixie/fileformats/jpeg.nim index dcc9d92..68dcd99 100644 --- a/src/pixie/fileformats/jpeg.nim +++ b/src/pixie/fileformats/jpeg.nim @@ -311,7 +311,7 @@ proc reset(state: var DecoderState) = if state.restartInterval != 0: state.todo = state.restartInterval else: - state.todo = 0x7fffffff + state.todo = int.high state.eobRun = 0 proc decodeSOS(state: var DecoderState) =