Michael Niedermayer
|
f39c3c8855
|
factorize &
Originally committed as revision 8525 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
0abfd53344
|
simplify
Originally committed as revision 8524 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 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
Originally committed as revision 8522 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
34a370cb0c
|
simplify
Originally committed as revision 8521 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 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
Originally committed as revision 8517 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
6aaf3abd6d
|
simplify
Originally committed as revision 8514 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
bf7709619b
|
factorize
Originally committed as revision 8510 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
62ef8925c5
|
simplify
Originally committed as revision 8509 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Baptiste Coudurier
|
93e91145b4
|
fix indentation
Originally committed as revision 8499 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Baptiste Coudurier
|
36376fa3ba
|
break if eob is reached to avoid reading one too much byte
Originally committed as revision 8498 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Kostya Shishkov
|
ffc5430bc3
|
LZW decoder as separate module plus TIFF LZW support
Originally committed as revision 6795 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |