summaryrefslogtreecommitdiff
path: root/libavcodec/mmvideo.c
Commit message (Collapse)AuthorAgeFilesLines
* mmvideo: Make sure the rle does not write over the frame boundariesLuca Barbato2015-09-111-1/+5
| | | | | Bug-Id: 887 CC: libav-stable@libav.org
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-271-1/+1
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mmvideo: check frame dimensionsAnton Khirnov2014-12-191-0/+7
| | | | | | | | | The frame size must be set by the caller and each dimension must be a multiple of 2. CC: libav-stable@libav.org Bug-ID: CVE-2014-8543 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* mmvideo: check horizontal coordinate tooMichael Niedermayer2014-08-051-0/+2
| | | | | | | | | Fixes out of array accesses. Bug-Id: CVE-2013-3672 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mmvideo: use the AVFrame API properly.Anton Khirnov2013-11-161-12/+14
|
* mmvideo: fix uninitialized variable use in mm_decode_intraVittorio Giovara2013-10-271-1/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-031-1/+1
|
* lavc decoders: properly initialize AVFrame.Anton Khirnov2013-03-081-0/+2
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-7/+7
|
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-041-2/+2
| | | | It's got_frame, not data size
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-081-1/+1
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* mmvideo.c: Remove unused variable in mm_decode_pal().Diego Biurrun2012-05-071-2/+1
| | | | libavcodec/mmvideo.c:87:9: warning: variable ‘i’ set but not used
* cosmetics: Align codec declarationsMartin Storsjö2012-04-061-1/+1
| | | | | | | 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>
* algmm: convert to bytestream2 API.Ronald S. Bultje2012-03-071-38/+51
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-291-9/+8
| | | | It's more readable and less prone to breakage.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mm decoder: move buffer allocation from decode_init() to decode_frame()Peter Ross2011-03-141-4/+5
| | | | | | This permits playback in ffplay when libavfilter is enabled. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.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>
* perform height sanity check in mmvideo decoderDaniel Kang2011-01-101-0/+6
| | | | | | | Fixes issue2495 Original patch by Daniel Kang, daniel.d.kang at gmail Originally committed as revision 26300 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mmvideo: remove some conditional statements by limiting range of half_horiz ↵Peter Ross2011-01-101-3/+11
| | | | | | and half_vert parameters to [0,1] Originally committed as revision 26299 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
* it is not necessary to display the decoder name, as av_log() automatically ↵Peter Ross2010-02-241-1/+1
| | | | | | prints the context Originally committed as revision 22023 to svn://svn.ffmpeg.org/ffmpeg/trunk
* update my email addressPeter Ross2010-01-091-1/+1
| | | | Originally committed as revision 21106 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary calls to avcodec_check_dimensions, the check is alreadyReimar Döffinger2009-10-131-3/+0
| | | | | | done at a higher level. Originally committed as revision 20229 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-0/+1
| | | | Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove AVPaletteControl from ALG MM demuxer/decoderPeter Ross2008-07-081-12/+18
| | | | Originally committed as revision 14109 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
* Add long names to many AVCodec declarations.Stefano Sabatini2008-04-271-0/+1
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13005 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
* constsMichael Niedermayer2008-02-011-1/+1
| | | | | | I have underestimated this a little, and these are just some ... Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-051-1/+1
| | | | Originally committed as revision 9484 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
* rename BE/LE_8/16/32 to AV_RL/B_8/16/32Alex Beregszaszi2007-01-191-2/+2
| | | | Originally committed as revision 7587 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
* Fix FSF postal address.Diego Biurrun2006-07-261-1/+1
| | | | Originally committed as revision 5829 to svn://svn.ffmpeg.org/ffmpeg/trunk
* complete American Laser Games MM playback system, courtesy of Peter RossMike Melanson2006-02-121-0/+204
(suxen_drol at hotmail dot com) Originally committed as revision 4999 to svn://svn.ffmpeg.org/ffmpeg/trunk