Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-04cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun
2013-06-07vorbis: return meaningful errorsLuca Barbato
2013-05-20vorbis: fallback to normal division instead of crashingLuca Barbato
The use of ff_inverse speeds up slightly arches + compilers that do not provide a division faster than the whole machinery, such as ppc32 + gcc4.7, but has operational limits. Drop the always-enable assert and provide a fallback.
2013-05-20vorbis: simplify the inner loop in setup_classifsLuca Barbato
2013-05-20vorbis: use normal integer values for iteratorsLuca Barbato
No need to use fixed-size integers.
2013-05-20vorbis: refactor vorbis_residue_decode_internalLuca Barbato
2013-03-11vorbisdec: do not leak the first frame.Anton Khirnov
2013-03-08lavc decoders: work with refcounted frames.Anton Khirnov
2013-03-06vorbisdec: check memory allocationsLuca Barbato
2013-02-26vorbisdec: cosmetics: rename variable avccontext to avctxJustin Ruggles
This is consistent with the rest of libavcodec.
2013-02-25vorbisdec: Accept 0 amplitude_bitsLuca Barbato
The specification does not prevent an encoder to write the amplitude 0 as 0 amplitude_bits. Our get_bits() implementation might not support a zero sized read properly, thus the additional branch.
2013-02-25vorbisdec: Add missing checksLuca Barbato
Rate and order must not be 0 even if the specification does not say that explicitly.
2013-02-25vorbisdec: cosmeticsLuca Barbato
Use the commonly used "if (!var)" instead of "if (var == 0)".
2013-02-25vorbisdec: Error on bark_map_size equal to 0.Michael Niedermayer
The value is used to calculate output LSP curve and a division by zero and out of array accesses would occur. CVE-2013-0894 CC: libav-stable@libav.org Reported-by: Dale Curtis <dalecurtis@chromium.org> Found-by: inferno@chromium.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-02-12vorbis: decode directly to the user-provided AVFrameJustin Ruggles
2013-01-21vorbisdsp: change block_size type from int to intptr_t.Ronald S. Bultje
This saves one instruction in the x86-64 assembly.
2013-01-20Move vorbis_inverse_coupling from dsputil to vorbisdspcontext.Ronald S. Bultje
Conveniently (together with Justin's earlier patches), this makes our vorbis decoder entirely independent of dsputil.
2013-01-16lavc: Move vector_fmul_window to AVFloatDSPContextJustin Ruggles
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-12-21miscellaneous typo fixesDiego Biurrun
2012-12-05lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov
It will be useful in the upcoming transition to refcounted AVFrames.
2012-11-20vorbisdec: use float planar sample formatJustin Ruggles
2012-09-14vorbisdec: ensure FASTDIV denominator is never 1Luca Barbato
In both usages of FASTDIV the denominator might be 1. Using a branch could make the function slower than using a normal division. Both denominator and numerator can be multiplied by 2 safely and using shifts is faster than using a branch.
2012-08-19vorbisdec: remove some pointless commentsMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-07Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov
2012-06-18vorbisdec: replace div/mod in loop with a counterMans Rullgard
2x speedup of surround decoding on Cortex-A9. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-08Add a float DSP framework to libavutilJustin Ruggles
Move vector_fmul() from DSPContext to AVFloatDSPContext.
2012-06-05vorbis: Validate that the floor 1 X values contain no duplicates.Alex Converse
Duplicate values in this vector are explicitly banned by the Vorbis I spec and cause divide-by-zero crashes later on.
2012-04-06cosmetics: Align codec declarationsMartin Storsjö
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>
2012-03-08vorbisdec: avoid invalid memory accessAaron Colwell
This fixes some invalid memory access caused later in the function by res_chan[] not being set for all channels. This happens when a channel doesn't appear a submap. This change simply returns a decoder error when this situation is detected. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-03-04avcodec: add a Vorbis parser to get packet durationJustin Ruggles
This also allows for removing some of the Vorbis-related hacks.
2012-03-04vorbisdec: read the previous window flag for long windowsJustin Ruggles
When reading sequentially, we are using the actual flag from the previous frame, but when seeking we do not know what the previous window flag was, so we need to read it from the bitstream.
2012-02-25vorbisdec: add a flush() functionJustin Ruggles
clear MDCT overlap buffer and reset previous window mode when seeking
2012-02-16vorbis: Add ff_ prefix to nonstatic symbolsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-02-16dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-02-16vlc/rl: Add ff_ prefix to the nonstatic symbolsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-02-03vorbis: fix overflows in floor1[] vector and inverse db table index.Ronald S. Bultje
2012-01-28cosmetics: Remove extra newlines at EOFAlex Converse
2012-01-08vorbis: An additional defense in the Vorbis codec.Chris Evans
Fixes Bug: #190 Chromium Bug: #100543 Related to CVE-2011-3893 Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2012-01-08vorbisdec: Fix decoding bug with channel handlingReinhard Tartler
Fixes Bug: #191 Chromium Bug: #101458 CVE-2011-3895 Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2012-01-08cosmetics: drop some pointless parenthesesDiego Biurrun
2011-12-22Drop ALT_ prefix from BITSTREAM_READER_LE name.Diego Biurrun
The prefix is a historic remnant that probably meant "alternative". Now that the A32 bitstream reader has been dropped it makes no sense anymore.
2011-12-03Add avcodec_decode_audio4().Justin Ruggles
Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
2011-11-10vorbisdec: remove AVCODEC_MAX_AUDIO_FRAME_SIZE checkJustin Ruggles
The user could provide a larger buffer, which is already checked separately before writing output.
2011-11-10vorbisdec: remove unneeded buf_size==0 checkJustin Ruggles
2011-11-10vorbisdec: return proper error codes instead of made-up onesJustin Ruggles
2011-10-23cosmetics: remove extra spaces before end-of-statement semi-colonsJustin Ruggles
2011-10-23vorbisdec: check output buffer size before writing outputJustin Ruggles
2011-10-20lavc: use avpriv_ prefix for ff_split_xiph_headers.Anton Khirnov
It's used in lavf.
2011-07-29lavc: use designated initialisers for all codecs.Anton Khirnov
It's more readable and less prone to breakage.
2011-07-15doxygen: do not include license boilerplate in Doxygen documentationDiego Biurrun