Diego Biurrun
|
bad5537e2c
Use full internal pathname in doxygen @file directives.
|
15 years ago |
Diego Biurrun
|
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
|
15 years ago |
Reimar Döffinger
|
b08edb2268
check that csize in ff_lzw_decode_init is < LZW_MAXBITS, <= is not enough and
|
16 years ago |
Zuxy Meng
|
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
|
16 years ago |
Michael Niedermayer
|
7993df6527
consts
|
16 years ago |
Michael Niedermayer
|
f39c3c8855
factorize &
|
17 years ago |
Michael Niedermayer
|
0abfd53344
simplify
|
17 years ago |
Michael Niedermayer
|
0cb7f8a260
check input validity, this prevents a few variables from reachin odd values which might have lead to out of array writes and thus might have been exploitable
|
17 years ago |
Michael Niedermayer
|
34a370cb0c
simplify
|
17 years ago |
Michael Niedermayer
|
5f01beb548
move eob_reached logic into ff_lzw_decode_tail() which simplifies the code, avoids some checks in the innermost loop and also gets rid of the controversal break while hopefully retaining the last byte in a valid bytestream, invalid bytestreams still can have very significant overread
|
17 years ago |
Michael Niedermayer
|
6aaf3abd6d
simplify
|
17 years ago |
Michael Niedermayer
|
bf7709619b
factorize
|
17 years ago |
Michael Niedermayer
|
62ef8925c5
simplify
|
17 years ago |
Baptiste Coudurier
|
93e91145b4
fix indentation
|
17 years ago |
Baptiste Coudurier
|
36376fa3ba
break if eob is reached to avoid reading one too much byte
|
17 years ago |
Kostya Shishkov
|
ffc5430bc3
LZW decoder as separate module plus TIFF LZW support
|
18 years ago |