From c280cd78641c75d7acb2390aba5a850841b01e8f Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Thu, 12 May 2022 20:14:16 -0500 Subject: [PATCH] proc --- 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 f3f68c2..2a753d6 100644 --- a/src/pixie/fileformats/jpeg.nim +++ b/src/pixie/fileformats/jpeg.nim @@ -768,7 +768,7 @@ proc decodeBlock(state: var DecoderState, comp, row, column: int) = else: state.decodeRegularBlock(comp, data) -template checkReset(state: var DecoderState) = +proc checkReset(state: var DecoderState) = ## Check if we might have run into a reset marker, then deal with it. dec state.todo if state.todo <= 0: