summaryrefslogtreecommitdiffstats
path: root/libavcodec/flicvideo.c
Commit message (Collapse)AuthorAgeFilesLines
* Set FLI/FLC Animation palette opaque.Carl Eugen Hoyos2011-11-121-1/+1
|
* Check extradata_size before accessing extradata.Carl Eugen Hoyos2011-11-091-3/+6
| | | | Fixes ticket #627.
* Try to set AVFrame.reference to correct values.Reimar Döffinger2011-11-051-2/+2
| | | | | | | | | I am not sure these new values are correct, not am I sure the semantics are a good idea since we do not seem to make any use of them but they caused a lot of confusion, but this seems to make things closer to matching the documentation. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* Check for out of bound reads in the flic decoder.Laurent Aimar2011-09-281-15/+29
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-301-13/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-291-13/+8
| | | | | | | | It's more readable and less prone to breakage.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-041-1/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (40 commits) H.264: template left MB handling H.264: faster fill_decode_caches H.264: faster write_back_* H.264: faster fill_filter_caches H.264: make filter_mb_fast support the case of unavailable top mb Do not include log.h in avutil.h Do not include pixfmt.h in avutil.h Do not include rational.h in avutil.h Do not include mathematics.h in avutil.h Do not include intfloat_readwrite.h in avutil.h Remove return statements following infinite loops without break RTSP: Doxygen comment cleanup doxygen: Escape '\' in Doxygen documentation. md5: cosmetics md5: use AV_WL32 to write result md5: add fate test md5: include correct headers md5: fix test program doxygen: Drop array size declarations from Doxygen parameter names. doxygen: Fix parameter names to match the function prototypes. ... Conflicts: libavcodec/x86/dsputil_mmx.c libavformat/flvenc.c libavformat/oggenc.c libavformat/wtv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Remove statements immediately following unconditional jumpsMans Rullgard2011-07-031-1/+0
| | | | | | | | | | | | This removes a number of compiler warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-261-1/+1
| | | | | | | | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | lavc: set defaults in internal codec framesStefano Sabatini2011-05-071-0/+1
| | | | | | | | | | | | | | | | | | This is required specifically for setting frame->format to -1, otherwise it will be set to 0 = PIX_FMT_YUV420P and code reading the format from the output decoded frame will get misled. In particular fix regressions occurring with the pending vsrc_buffer patch.
* | flicvideo: fix crash on flic files with invalid frame sizeStefano Sabatini2011-04-231-0/+5
| | | | | | | | | | | | | | | | | | | | Add a check in flic_decode_frame_8BPP(), in case chunk_size is > frame_size issue a warning and resize chunk_size to frame_size, in order to avoid out-of-buffer reads. Fix roundup issue #2520, trac issue #69. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
* | flicvideo: increase error level and fix error message in CHECK_PIXEL_PTR()Stefano Sabatini2011-04-231-2/+2
| | | | | | | | | | | | Also return AVERROR_INVALIDDATA rather than -1. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
* | Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-281-1/+1
|/ | | | | | | | 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)
* Fix several security issues in flicvideo.cMichael Niedermayer2010-09-271-8/+13
| | | | | | This fixes CVE-2010-3429 Originally committed as revision 25223 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-1/+1
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-261-1/+1
| | | | Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless #include <unistd.h> from many filesMåns Rullgård2009-07-221-1/+0
| | | | Originally committed as revision 19499 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-1/+3
| | | | | | | | | | | 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
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix filenames in doxygen comments.Diego Biurrun2009-02-011-1/+1
| | | | Originally committed as revision 16911 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix build: Add intreadwrite.h and bswap.h #includes where necessary.Diego Biurrun2009-01-111-1/+1
| | | | Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-121-1/+1
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-091-1/+1
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some long names to AVCodec declarations.Stefano Sabatini2008-04-291-1/+2
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13017 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-211-2/+2
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo fixesDiego Biurrun2008-03-121-2/+3
| | | | Originally committed as revision 12428 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-011-4/+4
| | | | Originally committed as revision 11727 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix issue 123 (Support Magic-carpet fli version,Mike Melanson2007-09-041-5/+8
| | | | | | https://roundup.mplayerhq.hu/roundup/ffmpeg/issue123 ) by rearranging the bit depth Originally committed as revision 10290 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-051-1/+0
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix indentationMåns Rullgård2007-06-161-4/+4
| | | | Originally committed as revision 9336 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace endian detection hack with #ifdef WORDS_BIGENDIANMåns Rullgård2007-06-161-4/+2
| | | | Originally committed as revision 9335 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc typo fixesDiego Biurrun2007-06-121-1/+1
| | | | Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling fixesDiego Biurrun2007-06-121-5/+5
| | | | Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant #inclusion of common.h, avcodec.h already #includes it.Diego Biurrun2007-05-101-1/+0
| | | | Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of unnecessary pointer casts.Nicholas Tung2007-04-081-3/+3
| | | | | | patch by Nicholas Tung, ntung ntung com Originally committed as revision 8687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove superfluous setting of has_b_frames in codecs without B-frames.Nicholas Tung2007-04-071-1/+0
| | | | | | patch by Nicholas Tung, ntung ntung com Originally committed as revision 8647 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo: unkown->unknownAlex Beregszaszi2007-03-071-1/+1
| | | | Originally committed as revision 8274 to svn://svn.ffmpeg.org/ffmpeg/trunk
* display line number when printing errorAlex Beregszaszi2007-02-181-8/+8
| | | | Originally committed as revision 8015 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename BE/LE_8/16/32 to AV_RL/B_8/16/32Alex Beregszaszi2007-01-191-24/+24
| | | | Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typoLuca Barbato2006-11-241-1/+1
| | | | Originally committed as revision 7166 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement DELTA_FLI opcodes correctly. Patch by Steven JohnsonSteven Johnson2006-11-241-1/+7
| | | | Originally committed as revision 7165 to svn://svn.ffmpeg.org/ffmpeg/trunk
* support byte_run=0 case in DELTA_FLI (this case means only skip pixels)Alex Beregszaszi2006-11-231-1/+1
| | | | Originally committed as revision 7164 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l memory corruption bug found by Steven JohnsonAlex Beregszaszi2006-11-231-1/+1
| | | | Originally committed as revision 7163 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix possible overflows. Found by Steven JohnsonAlex Beregszaszi2006-11-141-8/+8
| | | | Originally committed as revision 7065 to svn://svn.ffmpeg.org/ffmpeg/trunk
* correct signaling of palette changeAlex Beregszaszi2006-10-191-5/+7
| | | | Originally committed as revision 6739 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
* make some functions static (patch by Dieter < freebsd at sopwith.solgatos.com >)Dieter2006-01-281-1/+1
| | | | Originally committed as revision 4905 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
OpenPOWER on IntegriCloud