summaryrefslogtreecommitdiff
path: root/libavcodec/gifdec.c
Commit message (Collapse)AuthorAge
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
|
* gifdec: refactor interleave end handlingMichael Niedermayer2014-12-19
| | | | | | | | | Fixes invalid writes with very small image heights. CC: libav-stable@libav.org Bug-ID: CVE-2014-8547 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* gifdec: convert to bytestream2Anton Khirnov2013-11-21
|
* gifdec: check that the image dimensions are non-zeroAnton Khirnov2013-11-21
| | | | | | | Also add an error message an return a more suitable error code (INVALIDDATA, not EINVAL); Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* gifdec: stop using deprecated avcodec_set_dimensionsAnton Khirnov2013-10-31
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* Remove commented-out debug #define cruftDiego Biurrun2013-05-16
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* gifdec: 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>
* gif: fix invalid signed shiftsMans Rullgard2011-11-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* 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>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* 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>
* Don't check for DEBUG before using dprintf.Diego Elio 'Flameeyes' Pettenò2011-01-25
| | | | | | | The dprintf macro is no-op when DEBUG is unset, so there is no need to put it conditional to DEBUG. 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
* 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
* The GIF decoder uses get_buffer, so set DR1.Baptiste Coudurier2009-05-30
| | | | Originally committed as revision 18990 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
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 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
* Add long names to AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13009 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
* fix interlaced decoding, original patch from reimarBaptiste Coudurier2008-03-06
| | | | Originally committed as revision 12349 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constsMichael Niedermayer2008-02-01
| | | | | | I have underestimated this a little, and these are just some ... Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use AV_xx throughout libavcodecRamiro Polla2007-06-02
| | | | Originally committed as revision 9169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify, patch by Mark Cox, melbournemark plus ffmpeg minus devel gmail comMark Cox2007-04-21
| | | | Originally committed as revision 8775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typoDiego Biurrun2007-04-20
| | | | Originally committed as revision 8762 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove TODO, its done nowBaptiste Coudurier2007-03-25
| | | | Originally committed as revision 8519 to svn://svn.ffmpeg.org/ffmpeg/trunk
* pass correct buffer size to lzw decode initBaptiste Coudurier2007-03-25
| | | | Originally committed as revision 8518 to svn://svn.ffmpeg.org/ffmpeg/trunk
* return error if loop has ended before decoding imageBaptiste Coudurier2007-03-25
| | | | Originally committed as revision 8503 to svn://svn.ffmpeg.org/ffmpeg/trunk
* actually return bytes readBaptiste Coudurier2007-03-25
| | | | Originally committed as revision 8502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add some length checksBaptiste Coudurier2007-03-24
| | | | Originally committed as revision 8501 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyBaptiste Coudurier2007-03-24
| | | | Originally committed as revision 8500 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Give context to dprintfMichel Bardiaux2007-03-12
| | | | Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
* This fixes error handling for BeOS, removing the need for some ifdefs.François Revol2007-02-13
| | | | | | | | | AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h. Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed. Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code. This also removes the need for berrno.h. Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless line variableBaptiste Coudurier2006-11-05
| | | | Originally committed as revision 6901 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix decoding positionBaptiste Coudurier2006-11-05
| | | | Originally committed as revision 6900 to svn://svn.ffmpeg.org/ffmpeg/trunk
* LZW decoder as separate module plus TIFF LZW supportKostya Shishkov2006-10-26
| | | | Originally committed as revision 6795 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentionBaptiste Coudurier2006-10-22
| | | | Originally committed as revision 6768 to svn://svn.ffmpeg.org/ffmpeg/trunk
* removed useless variablesBaptiste Coudurier2006-10-22
| | | | Originally committed as revision 6766 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use avctx->get_bufferBaptiste Coudurier2006-10-22
| | | | Originally committed as revision 6765 to svn://svn.ffmpeg.org/ffmpeg/trunk