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
50072f6658
commit
a3f2897b85
1 changed files with 2 additions and 2 deletions
Loading…
Reference in New Issue