summaryrefslogtreecommitdiff
path: root/libavformat/gifdec.c
Commit message (Collapse)AuthorAge
* avformat/gifdec: correct r_frame_rate for single frame gifsMichael Niedermayer2015-08-10
| | | | | | Fixes Ticket4650 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/gif: Add an option max_gif_delay to limit the frame duration.Carl Eugen Hoyos2015-03-29
| | | | Allows playback for the sample from ticket #4369 in less than 18 hours.
* replace calls to url_feof() with avio_feof()James Almer2014-08-08
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/gifdec: make GIF_APP_EXT_LABEL parsing more robustMichael Niedermayer2013-10-04
| | | | | | Fixes Ticket3021 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavf/gifdec: add loop support.Clément Bœsch2013-04-20
| | | | Loop is ignored by default.
* lavf/gifdec: cosmetics: remove extra whitespacePaul B Mahol2013-01-26
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavf/gifdec: fix typoPaul B Mahol2013-01-26
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* gifdec: resync supportMichael Niedermayer2013-01-25
| | | | | | | This allows decoding gifs that have junk at the begin and also allows byte wise seeking Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* gifdec: do not handle timestampsPaul B Mahol2012-12-04
| | | | | | | | It is broken, and results will be messed up when seeking. This also fix duration displayed for streams when using -c copy. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* gifdec: rudimentary seekingPaul B Mahol2012-12-01
| | | | | | With this ffplay -loop X successfully seeks to start. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* gifdec: remove width and height from demuxer contextPaul B Mahol2012-11-30
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* undo file modifiers that suck inPaul B Mahol2012-11-30
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Gif demuxerVitaliy E Sugrobov2012-11-30
| | | | | | | | | | | | | | | | | | | | | Gif demuxer is capable of extracting multiple frames from gif file. In conjunction with gif decoder it implements support for reading animated gifs. Demuxer has two options available to user: default_delay and min_delay. These options are for protection from too rapid gif animations. In practice it is standard approach to slow down rendering of this kind of gifs. If you try to play gif with delay between frames of one hundredth of second (100fps) using one of major web browsers, you get significantly slower playback, around 10 fps. This is because browser detects that delay value is less than some threshold (usually 2 hundredths of second) and reset it to default value (usually 10 hundredths of second, which corresponds to 10fps). Manipulating these options user can achieve the same effect during conversion to some video format. Otherwise user can set them to not protect from rapid animations at all. The other case when these options necessary is for gif images encoded according to gif87a standard since prior to gif89a there was no delay information included in file. Bump lavf minor version. Signed-off-by: Vitaliy E Sugrobov <vsugrob@hotmail.com>
* Remove gif demuxer, the code contains a gif decoder and lzw decoder neitherMichael Niedermayer2008-07-13
| | | | | | | belongs in a demuxer, furthermore the code might be exploitable. Fixes issue530 Originally committed as revision 14209 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.Stefano Sabatini2008-06-03
| | | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste.it along with some spelling/consistency fixes for the long names by me Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix decoding of interlaced gif, e.g. http://samples.mplayerhq.hu/GIF/7up.gifReimar Döffinger2008-03-03
| | | | Originally committed as revision 12297 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use dynamically allocated ByteIOContext in AVFormatContextBjörn Axelsson2007-11-21
| | | | | | | patch by: Björn Axelsson, bjorn d axelsson a intinor d se thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007 Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_IO with AVERROR(EIO).Panagiotis Issaris2007-07-19
| | | | Originally committed as revision 9760 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
* kill AVImageFormatBaptiste Coudurier2006-11-02
| | | | Originally committed as revision 6875 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace coder/decoder file description in libavformat by muxer/demuxerAurelien Jacobs2006-10-23
| | | | Originally committed as revision 6774 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allow individual selection of muxers and demuxersMåns Rullgård2006-07-10
| | | | Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
* give AVInput/OutputFormat structs consistent namesMåns Rullgård2006-07-09
| | | | Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-12
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: tabs --> spaces, some prettyprintingDiego Biurrun2005-12-22
| | | | Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* changing AVCodecContext codec -> *codec in AVStream so additions to ↵Michael Niedermayer2005-07-17
| | | | | | AVCodecContext dont randomize AVStream and break binary compatibility Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk
* switch to native time basesMichael Niedermayer2005-04-30
| | | | Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
* integer overflows, heap corruptionMichael Niedermayer2005-01-08
| | | | | | | possible arbitrary code execution cannot be ruled out in some cases precautionary checks Originally committed as revision 3813 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sweeping change from -EIO -> AVERROR_IOMike Melanson2004-06-19
| | | | Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk
* transparency supportFabrice Bellard2003-04-21
| | | | Originally committed as revision 1808 to svn://svn.ffmpeg.org/ffmpeg/trunk
* per context frame_rate_base, this should finally fix frame_rate related av ↵Michael Niedermayer2003-03-12
| | | | | | sync issues Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added 8 bit palette support for non animated GIFFabrice Bellard2003-02-09
| | | | Originally committed as revision 1562 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added automatic GIF/animated GIF probing - added GIF as an image format too ↵Fabrice Bellard2003-02-03
| | | | | | - added interlaced gif support Originally committed as revision 1539 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added animated GIF decoder (pts and various disposal handling are missing)Fabrice Bellard2003-02-02
Originally committed as revision 1533 to svn://svn.ffmpeg.org/ffmpeg/trunk