summaryrefslogtreecommitdiff
path: root/libavcodec/msrledec.c
Commit message (Collapse)AuthorAge
* msrle: Use AVFrame instead of AVPictureVittorio Giovara2015-10-21
| | | | | | | Callers always use a frame and cast it to AVPicture, change ff_msrle_decode() to accept an AVFrame directly instead. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* msrle: Use FFABS to determine the frame size in msrle_decode_pal4Luca Barbato2015-05-30
| | | | | | | As done in msrle_decode_8_16_24_32. Bug-Id: CVE-2015-3395 CC: libav-stable@libav.org
* msrledec: check bounds before constructing a possibly invalid pointer,Anton Khirnov2013-02-06
| | | | CC:libav-stable@libav.org
* msrle: convert MS RLE decoding function to bytestream2.Ronald Bultje2012-04-11
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* Drop unnecessary av_uninit attributes from some variable declarations.Diego Biurrun2012-02-13
| | | | Recent versions of gcc (4.4+) no longer give false positive warnings.
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-27
|
* cosmetics: drop some completely pointless parenthesesDiego Biurrun2011-12-07
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix possibly exploitable out of buffer writes in msrle_decode_pal4().Michael Niedermayer2010-11-02
| | | | | | This fix is minimalistic, that function should be cleaned up by someone. Originally committed as revision 25633 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix possibly exploitable buffer overrun in msrle_decode_8_16_24_32().Michael Niedermayer2010-11-02
| | | | | | Issue has been reported to me by Gynvael Coldwind Originally committed as revision 25632 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove impossible condition from msrle_decode_pal4()Michael Niedermayer2010-11-02
| | | | Originally committed as revision 25631 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix indentMichael Niedermayer2010-11-02
| | | | Originally committed as revision 25630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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
* Include msrledec.h: It contains the prototype for ff_msrle_decode().Carl Eugen Hoyos2010-02-28
| | | | Originally committed as revision 22105 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make MS RLE decoder produce both bottom-up and top-down picturesKostya Shishkov2009-10-01
| | | | Originally committed as revision 20111 to svn://svn.ffmpeg.org/ffmpeg/trunk
* do not print false error if eof follows eolBaptiste Coudurier2009-05-27
| | | | Originally committed as revision 18965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Fix some typos.Diego Biurrun2009-05-22
| | | | Originally committed as revision 18894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix off-by-one error in MS RLE decoder which may result into writing pastKostya Shishkov2009-05-16
| | | | | | picture buffer. Originally committed as revision 18852 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_uninit macro to variables to avoid false positive warnings:Diego Biurrun2009-02-11
| | | | | | | | libavcodec/msrledec.c: In function ‘ff_msrle_decode’: libavcodec/msrledec.c:139: warning: ‘pix32’ may be used uninitialized in this function libavcodec/msrledec.c:138: warning: ‘pix16’ may be used uninitialized in this function Originally committed as revision 17156 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | 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
* Fix build: Add intreadwrite.h and bswap.h #includes where necessary.Diego Biurrun2009-01-11
| | | | Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make decoding run of pixels in MS RLE saner.Kostya Shishkov2008-12-06
| | | | | | | This is based on patches by Alex Converse and Mans Rullgard Thread "[PATCH] Fix MSRLE type punning" Originally committed as revision 16013 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print out some errors found during MS RLE decodingKostya Shishkov2008-12-06
| | | | Originally committed as revision 16012 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize out code used for MS RLE format decoding in different decoders.Kostya Shishkov2008-09-18
Originally committed as revision 15356 to svn://svn.ffmpeg.org/ffmpeg/trunk