From 323df1c34a11da559c56eb5287046bb592fdb48c Mon Sep 17 00:00:00 2001 From: treeform Date: Sun, 22 May 2022 11:12:58 -0700 Subject: [PATCH] Add todo comment. --- src/pixie/fileformats/jpeg.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pixie/fileformats/jpeg.nim b/src/pixie/fileformats/jpeg.nim index a85514a..d5c8e65 100644 --- a/src/pixie/fileformats/jpeg.nim +++ b/src/pixie/fileformats/jpeg.nim @@ -525,6 +525,7 @@ proc getBit(state: var DecoderState): int = proc getBitsAsSignedInt(state: var DecoderState, n: int): int = ## Get n number of bits as a signed integer. + # TODO: Investigate why 15 not 16? if n notin 0 .. 15: failInvalid() if state.bitsBuffered < n: