summaryrefslogtreecommitdiff
path: root/libavcodec/gifdec.c
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-11-27
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (42 commits) swscale: fix signed overflow in yuv2mono_X_c_template snow: fix integer overflows svq1enc: remove stale altivec-related hack snow: fix signed overflow in byte to 32-bit replication adx: rename ff_adx_decode_header() to avpriv_adx_decode_header() avformat: add CRI ADX format demuxer adx: add an ADX parser. adx: move header decoding to ADX common code adx: calculate the number of blocks in a packet adx: define and use 2 new macro constants BLOCK_SIZE and BLOCK_SAMPLES adx: check for unsupported ADX formats adx: simplify encoding by using put_sbits() adx: calculate correct LPC coeffs adx: use 12-bit coefficients instead of 14-bit to avoid integer overflow adx: simplify adx_decode() by using get_sbits() to read residual samples adx: fix the data offset parsing in adx_decode_header() adx: remove unneeded post-decode channel interleaving adx: validate header values adx: cosmetics: general pretty-printing and comment clean-up adx: remove useless comments ... Conflicts: Changelog libavcodec/cook.c libavcodec/fraps.c libavcodec/nuv.c libavcodec/pthread.c libavcodec/version.h libavformat/Makefile libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * gif: fix invalid signed shiftsMans Rullgard2011-11-26
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mxfdec: Include FF_INPUT_BUFFER_PADDING_SIZE when allocating extradata. H.264: tweak some other x86 asm for Atom probe: Fix insane flow control. mpegts: remove invalid error check s302m: use nondeprecated audio sample format API lavc: use designated initialisers for all codecs. x86: cabac: add operand size suffixes missing from 6c32576 Conflicts: libavcodec/ac3enc_float.c libavcodec/flacenc.c libavcodec/frwu.c libavcodec/pictordec.c libavcodec/qtrleenc.c libavcodec/v210enc.c libavcodec/wmv2dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | Merge libavcore into libavutilReinhard Tartler2011-02-16
| | | | | | | | Done to keep ABI compatible. Otherwise this is just silly
* | Replace dprintf with av_dlogLuca Barbato2011-01-30
| | | | | | | | | | dprintf clashes with POSIX.1-2008 (cherry picked from commit dfd2a005eb29e4b9f2fdb97036eb7d5c38ae4bd4)
* | Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-28
| | | | | | | | | | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d36beb3f6902b1217beda576aa18abf7eb72b03c)
* | Don't check for DEBUG before using dprintf.Diego Elio 'Flameeyes' Pettenò2011-01-26
|/ | | | | | | | 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> (cherry picked from commit 73a0b19ba39a4aca79a768feeacd83307a62836e)
* 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
* remove unused variablesBaptiste Coudurier2006-10-22
| | | | Originally committed as revision 6764 to svn://svn.ffmpeg.org/ffmpeg/trunk
* printf -> dprintfBaptiste Coudurier2006-10-22
| | | | Originally committed as revision 6763 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentionBaptiste Coudurier2006-10-22
| | | | Originally committed as revision 6762 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change gif demuxer to gif decoderBaptiste Coudurier2006-10-22
Originally committed as revision 6760 to svn://svn.ffmpeg.org/ffmpeg/trunk