summaryrefslogtreecommitdiff
path: root/libavcodec/svq1dec.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Drop pointless assert.h #includesDiego Biurrun2016-05-03
|
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-27
| | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
|
* svq1dec: Validate the stages value strictlyLuca Barbato2015-02-03
| | | | | | | It can be less than -1. Bug-Id: CID 1194397 / CID 1194398 CC: libav-stable@libav.org
* svq1dec: Unbreak the scratch buffer allocationMichael Niedermayer2014-12-14
| | | | | | | | | | | | | | | The input packets are always assumed to be padded and the av_fast_ family of function takes a pointer to a pointer. Thanks to Nicolas Dufresne <nicolas.dufresne@collabora.com> for a similar patch. Introduced in 7b588bb691644e1b3c168b99accf74248a24e3cf. Bug-Id: 766 CC: libav-stable@libav.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* svq1: do not modify the input packetAnton Khirnov2014-08-06
| | | | | | | | | | | The input data must remain constant, make a copy instead. This is in theory a performance hit, but since I failed to find any samples using this feature, this should not matter in practice. Also, check the size of the header, avoiding invalid reads on truncated data. CC:libav-stable@libav.org
* Replace all instances of avcodec_alloc_frame() with av_frame_alloc().Anton Khirnov2013-11-16
|
* svq1dec: stop using deprecated avcodec_set_dimensionsAnton Khirnov2013-10-31
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* avcodec: Replace local extern declarations for tables with header #includesDiego Biurrun2013-08-15
|
* svq1: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | | | This makes svq1 independent of dsputil. Signed-off-by: Martin Storsjö <martin@martin.st>
* svq1dec: clip motion vectors to the frame size.Anton Khirnov2013-04-17
| | | | | | | Fixes invalid reads for corrupted files. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* svq1dec: check that the reference frame has the same dimensions as the ↵Anton Khirnov2013-04-17
| | | | | | | | | | current one They can be different if the last keyframe failed to decode correctly. Fixes possible invalid reads in such a case. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* svq1: use av_frame_free to free refcounted frameJanne Grunau2013-03-10
| | | | Fixes a memleak due to avcodec_free_frame not freeing the frame data.
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* svq1: replace struct svq1_frame_size with an array.Anton Khirnov2013-02-06
| | | | It is used as an array in svq1enc, so this is more correct.
* svq1: Fix building with -DDEBUGMartin Storsjö2012-12-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* svq1: return meaningful error codes.Anton Khirnov2012-12-12
|
* lavc: replace some forgotten instances of PixelFormat with AVPixelFormatAnton Khirnov2012-12-12
|
* svq1: unmacroify macros used only once.Anton Khirnov2012-12-12
|
* svq1: deMpegEncContextizeAnton Khirnov2012-12-12
| | | | | This decoder is quite simple and none of the MpegEncContext complexity is actually needed.
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-04
| | | | It's got_frame, not data size
* svq1: Drop a bunch of useless parenthesesDiego Biurrun2012-10-10
|
* svq1: K&R formatting cosmeticsDiego Biurrun2012-10-10
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* avcodec: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun2012-10-01
|
* svq1/svq3: Move common code out of SVQ1 decoder-specific fileDiego Biurrun2012-08-24
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | 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>
* Replace AVFrame pointer type punning by proper struct member assignments.Diego Biurrun2012-03-01
|
* mpegvideo: Add ff_ prefix to nonstatic functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h263: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* svq1dec: call avcodec_set_dimensions() after dimensions changed.Michael Niedermayer2011-12-23
| | | | | | | Fixes NGS00148, CVE-2011-4579 Found-by: Phillip Langlois Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* svq1dec: avoid undefined get_bits(0) callMans Rullgard2011-12-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* svq1dec: use sign_extend()Mans Rullgard2011-11-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* Eliminate FF_COMMON_FRAME macro.Diego Biurrun2011-07-11
| | | | | FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
* svq1dec: Fix debug statements that referenced non-existing context.Diego Biurrun2011-06-07
|
* Replace custom DEBUG preprocessor trickery by the standard one.Diego Biurrun2011-06-03
|
* Replace #ifdef + av_log() combinations by av_dlog().Diego Biurrun2011-06-03
|
* Remove unused variablesMans Rullgard2011-06-02
|
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove some disabled printf debug cruft.Diego Biurrun2011-04-29
|
* lavc: remove FF_API_HURRY_UP cruftAnton Khirnov2011-04-26
|
* lavc: mark hurry_up for removal on next major bumpAnton Khirnov2011-04-02
| | | | | It has been deprecated for about five years, skip_idct/skip_frame should be used instead.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | 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-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* svq1dec: replace VLA with malloc/freeMåns Rullgård2010-06-26
| | | | Originally committed as revision 23794 to svn://svn.ffmpeg.org/ffmpeg/trunk