Statistics
| Branch: | Revision:

ffmpeg / libavcodec / lzw.c @ ad1ea1f1

History | View | Annotate | Download (5.84 KB)

# Date Author Comment
f39c3c88 03/26/2007 12:54 AM Michael Niedermayer

factorize &

Originally committed as revision 8525 to svn://svn.ffmpeg.org/ffmpeg/trunk

0abfd533 03/26/2007 12:44 AM Michael Niedermayer

simplify

Originally committed as revision 8524 to svn://svn.ffmpeg.org/ffmpeg/trunk

0cb7f8a2 03/25/2007 11:37 PM Michael Niedermayer

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

34a370cb 03/25/2007 11:22 PM Michael Niedermayer

simplify

Originally committed as revision 8521 to svn://svn.ffmpeg.org/ffmpeg/trunk

5f01beb5 03/25/2007 03:43 PM Michael Niedermayer

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...

6aaf3abd 03/25/2007 03:09 PM Michael Niedermayer

simplify

Originally committed as revision 8514 to svn://svn.ffmpeg.org/ffmpeg/trunk

bf770961 03/25/2007 02:02 PM Michael Niedermayer

factorize

Originally committed as revision 8510 to svn://svn.ffmpeg.org/ffmpeg/trunk

62ef8925 03/25/2007 01:41 PM Michael Niedermayer

simplify

Originally committed as revision 8509 to svn://svn.ffmpeg.org/ffmpeg/trunk

93e91145 03/24/2007 11:23 PM Baptiste Coudurier

fix indentation

Originally committed as revision 8499 to svn://svn.ffmpeg.org/ffmpeg/trunk

36376fa3 03/24/2007 11:23 PM Baptiste Coudurier

break if eob is reached to avoid reading one too much byte

Originally committed as revision 8498 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffc5430b 10/26/2006 04:15 AM Kostya Shishkov

LZW decoder as separate module plus TIFF LZW support

Originally committed as revision 6795 to svn://svn.ffmpeg.org/ffmpeg/trunk