You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jpg: Fix parseECS not including first ECS byte (v_first) in return value.
Fixes regression reported in
#215 (comment)
Also fix follow-up error that `parseFrames`, `parseFramesSemiLazy` and `parseToFirstFrameHeader`
incorrectly tried to parse beyond the `JpgEndOfImage`.
Jpg: Fix `parseToFirstFrameHeader`
GetInternal.withInputChunks (v_first, B.empty) consumeChunk (L.fromChunks. (B.singleton v_first :)) (return.L.fromChunks. (B.singleton v_first :)) -- `v_first` also belongs to the returned BS
607
607
where
608
608
consumeChunk::GetInternal.Consume (Word8, B.ByteString) -- which is: (Word8, B.ByteString) -> B.ByteString -> Either (Word8, B.ByteString) (B.ByteString, B.ByteString)
0 commit comments