summaryrefslogtreecommitdiffstats
path: root/libavformat/gifdec.c
Commit message (Collapse)AuthorAgeFilesLines
* lavf/gifdec: cosmetics: remove extra whitespacePaul B Mahol2013-01-261-1/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavf/gifdec: fix typoPaul B Mahol2013-01-261-1/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* gifdec: resync supportMichael Niedermayer2013-01-251-6/+26
| | | | | | | 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-041-9/+0
| | | | | | | | 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-011-0/+1
| | | | | | 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-301-8/+6
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* undo file modifiers that suck inPaul B Mahol2012-11-301-0/+0
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Gif demuxerVitaliy E Sugrobov2012-11-301-0/+292
| | | | | | | | | | | | | | | | | | | | | 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-131-590/+0
| | | | | | | 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-031-1/+1
| | | | | | | 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-031-5/+2
| | | | Originally committed as revision 12297 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use dynamically allocated ByteIOContext in AVFormatContextBjörn Axelsson2007-11-211-1/+1
| | | | | | | 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-191-5/+5
| | | | 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-131-3/+3
| | | | | | | | | 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-021-51/+0
| | | | Originally committed as revision 6875 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace coder/decoder file description in libavformat by muxer/demuxerAurelien Jacobs2006-10-231-1/+1
| | | | 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-071-4/+6
| | | | | | 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-101-0/+2
| | | | Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
* give AVInput/OutputFormat structs consistent namesMåns Rullgård2006-07-091-1/+1
| | | | Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-121-1/+1
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: tabs --> spaces, some prettyprintingDiego Biurrun2005-12-221-96/+96
| | | | Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-171-12/+12
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* changing AVCodecContext codec -> *codec in AVStream so additions to ↵Michael Niedermayer2005-07-171-7/+7
| | | | | | 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-301-2/+2
| | | | Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
* integer overflows, heap corruptionMichael Niedermayer2005-01-081-0/+6
| | | | | | | 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-191-5/+5
| | | | Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk
* transparency supportFabrice Bellard2003-04-211-6/+22
| | | | 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-121-1/+2
| | | | | | 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-091-18/+43
| | | | 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-031-63/+189
| | | | | | - 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-021-0/+466
Originally committed as revision 1533 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud