summaryrefslogtreecommitdiff
path: root/libavcodec/lzw.c
Commit message (Collapse)AuthorAgeFilesLines
* lzw: fix potential integer overflow.Ronald S. Bultje2012-03-291-1/+1
|
* lzw: prevent buffer overreads.Ronald S. Bultje2012-03-281-3/+8
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* doxygen: use Doxygen markup for authors and web links where appropriateDiego Biurrun2011-07-151-1/+1
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix misspelled parameter names in Doxygen documentation.Diego Biurrun2010-07-021-2/+2
| | | | | | This fixes one Doxygen warning each. Originally committed as revision 23970 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-191-2/+2
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check that csize in ff_lzw_decode_init is < LZW_MAXBITS, <= is not enough andReimar Döffinger2008-07-131-1/+1
| | | | | | might read outside the prefix array Originally committed as revision 14214 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-211-2/+2
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constsMichael Niedermayer2008-02-011-3/+3
| | | | | | I have underestimated this a little, and these are just some ... Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize &Michael Niedermayer2007-03-261-3/+3
| | | | Originally committed as revision 8525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2007-03-261-10/+1
| | | | Originally committed as revision 8524 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check input validity, this prevents a few variables from reachin odd values ↵Michael Niedermayer2007-03-251-3/+4
| | | | | | 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
* simplifyMichael Niedermayer2007-03-251-16/+6
| | | | Originally committed as revision 8521 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move eob_reached logic into ff_lzw_decode_tail() which simplifies the code, ↵Michael Niedermayer2007-03-251-11/+8
| | | | | | 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
* simplifyMichael Niedermayer2007-03-251-4/+3
| | | | Originally committed as revision 8514 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorizeMichael Niedermayer2007-03-251-11/+5
| | | | Originally committed as revision 8510 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2007-03-251-10/+4
| | | | Originally committed as revision 8509 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix indentationBaptiste Coudurier2007-03-241-1/+1
| | | | Originally committed as revision 8499 to svn://svn.ffmpeg.org/ffmpeg/trunk
* break if eob is reached to avoid reading one too much byteBaptiste Coudurier2007-03-241-0/+1
| | | | Originally committed as revision 8498 to svn://svn.ffmpeg.org/ffmpeg/trunk
* LZW decoder as separate module plus TIFF LZW supportKostya Shishkov2006-10-261-0/+262
Originally committed as revision 6795 to svn://svn.ffmpeg.org/ffmpeg/trunk