summaryrefslogtreecommitdiff
path: root/libavcodec/pcx.c
Commit message (Collapse)AuthorAge
* Move const qualifier before type nameDiego Biurrun2016-03-23
|
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* pcx: round up in bits->bytes conversion in a buffer size checkAnton Khirnov2013-11-21
| | | | | | Fixes invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* pcx: stop using deprecated avcodec_set_dimensionsAnton Khirnov2013-10-31
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* pcx: Return an error on broken palette if err_detect is set to 'explode'Martin Storsjö2013-09-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* pcx: Check the packet size before assuming it fits a paletteMartin Storsjö2013-09-29
| | | | | | | | This fixes reads out of bounds. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* pcx: Consume the whole packet if giving up due to missing paletteMartin Storsjö2013-09-29
| | | | | | | | | Previously, we returned 0, meaning successful decoding but 0 bytes consumed, leading to an infinite loop. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* pcx: Do not overread source buffer in pcx_rle_decodeLuca Barbato2013-07-12
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pcx: K&R formatting cosmeticsLuca Barbato2013-07-12
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* pcx: return meaningful error codes.Anton Khirnov2013-01-14
|
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-04
| | | | It's got_frame, not data size
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Use new imgutils.h API names, fix deprecation warnings.Stefano Sabatini2010-09-07
| | | | Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove use of the deprecated function avcodec_check_dimensions(), useStefano Sabatini2010-08-06
| | | | | | av_check_image_size() instead. Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* pcx: convert VLAs to malloc/freeMåns Rullgård2010-06-26
| | | | Originally committed as revision 23796 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix indentation.Benoit Fouet2009-10-27
| | | | Originally committed as revision 20378 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only memset for palettes of 16 elements.Benoit Fouet2009-10-27
| | | | Originally committed as revision 20377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support decoding of uncompressed PCX scanlinesPeter Ross2009-10-03
| | | | Originally committed as revision 20153 to svn://svn.ffmpeg.org/ffmpeg/trunk
* pcx decoder use get_buffer, set CODEC_CAP_DR1Baptiste Coudurier2009-06-05
| | | | Originally committed as revision 19098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct type for pcx_rle_decode().Carl Eugen Hoyos2008-05-12
| | | | | | | Fixes icc warning #120: return value type does not match the function type Originally committed as revision 13139 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to some AVCodec declarations.Stefano Sabatini2008-04-29
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13022 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-01
| | | | Originally committed as revision 11735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless castIvo van Poorten2007-12-27
| | | | Originally committed as revision 11328 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PC Paintbrush PCX image decoderIvo van Poorten2007-12-26
Originally committed as revision 11321 to svn://svn.ffmpeg.org/ffmpeg/trunk