From 3b67e809c5a8a31c63a2351438b848bab7f3b37a Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Wed, 25 May 2022 19:13:48 -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 29ee736..05cbee1 100644 --- a/src/pixie/fileformats/jpeg.nim +++ b/src/pixie/fileformats/jpeg.nim @@ -410,7 +410,7 @@ proc decodeSOS(state: var DecoderState) = if state.scanComponents > state.components.len: failInvalid("extra components") - if state.scanComponents notin [1, 3]: + if state.scanComponents notin {1, 3}: failInvalid("unsupported scan component count") state.componentOrder.setLen(0)