extend_receive implicitly requires n <= 15 (code length); the maximum that actually makes sense for 8-bit baseline JPEG is 11, but 15 is the natural limit for us because the AC coding path stores the number of magnitude bits in a nibble. Check that DC delta bits are in range before attempting to call extend_receive. Fixes issue #1108.master
parent
6ab6303f98
commit
86b7570cfb
1 changed files with 2 additions and 2 deletions
Loading…
Reference in New Issue