]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commit
Fix get_ur_golomb_jpegls() with A32_BITSTREAM_READER
authormru <mru@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 24 Feb 2009 01:41:44 +0000 (01:41 +0000)
committermru <mru@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 24 Feb 2009 01:41:44 +0000 (01:41 +0000)
commit3ea6fb65bde8fbada4fc23142aa0e4a2b90e66c2
tree8c7afbe17e1a8c60eed9b94135894ff4af0ba4a9
parenta3eeb5d70fd1782875c83f9f99ce1b2e85ed077c
Fix get_ur_golomb_jpegls() with A32_BITSTREAM_READER

If k==0, log==0 can indicate that the coded value uses more than
MIN_CACHE_BITS bits.  With MIN_CACHE_BITS==32, the fast branch is
incorrectly taken in this case unless explicitly forbidden.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17550 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavcodec/golomb.h