Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-04 | cosmetics: Group .name and .long_name together in codec/format declarations | Diego Biurrun | |
2013-06-07 | vorbis: return meaningful errors | Luca Barbato | |
2013-05-20 | vorbis: fallback to normal division instead of crashing | Luca 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-20 | vorbis: simplify the inner loop in setup_classifs | Luca Barbato | |
2013-05-20 | vorbis: use normal integer values for iterators | Luca Barbato | |
No need to use fixed-size integers. | |||
2013-05-20 | vorbis: refactor vorbis_residue_decode_internal | Luca Barbato | |
2013-03-11 | vorbisdec: do not leak the first frame. | Anton Khirnov | |
2013-03-08 | lavc decoders: work with refcounted frames. | Anton Khirnov | |
2013-03-06 | vorbisdec: check memory allocations | Luca Barbato | |
2013-02-26 | vorbisdec: cosmetics: rename variable avccontext to avctx | Justin Ruggles | |
This is consistent with the rest of libavcodec. | |||
2013-02-25 | vorbisdec: Accept 0 amplitude_bits | Luca 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-25 | vorbisdec: Add missing checks | Luca Barbato | |
Rate and order must not be 0 even if the specification does not say that explicitly. | |||
2013-02-25 | vorbisdec: cosmetics | Luca Barbato | |
Use the commonly used "if (!var)" instead of "if (var == 0)". | |||
2013-02-25 | vorbisdec: 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-12 | vorbis: decode directly to the user-provided AVFrame | Justin Ruggles | |
2013-01-21 | vorbisdsp: change block_size type from int to intptr_t. | Ronald S. Bultje | |
This saves one instruction in the x86-64 assembly. | |||
2013-01-20 | Move 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-16 | lavc: Move vector_fmul_window to AVFloatDSPContext | Justin Ruggles | |
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | |||
2012-12-21 | miscellaneous typo fixes | Diego Biurrun | |
2012-12-05 | lavc: add a wrapper for AVCodecContext.get_buffer(). | Anton Khirnov | |
It will be useful in the upcoming transition to refcounted AVFrames. | |||
2012-11-20 | vorbisdec: use float planar sample format | Justin Ruggles | |
2012-09-14 | vorbisdec: ensure FASTDIV denominator is never 1 | Luca 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-19 | vorbisdec: remove some pointless comments | Mans Rullgard | |
Signed-off-by: Mans Rullgard <mans@mansr.com> | |||
2012-08-07 | Replace all CODEC_ID_* with AV_CODEC_ID_* | Anton Khirnov | |
2012-06-18 | vorbisdec: replace div/mod in loop with a counter | Mans Rullgard | |
2x speedup of surround decoding on Cortex-A9. Signed-off-by: Mans Rullgard <mans@mansr.com> | |||
2012-06-08 | Add a float DSP framework to libavutil | Justin Ruggles | |
Move vector_fmul() from DSPContext to AVFloatDSPContext. | |||
2012-06-05 | vorbis: 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-06 | cosmetics: Align codec declarations | Martin 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-08 | vorbisdec: avoid invalid memory access | Aaron 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-04 | avcodec: add a Vorbis parser to get packet duration | Justin Ruggles | |
This also allows for removing some of the Vorbis-related hacks. | |||
2012-03-04 | vorbisdec: read the previous window flag for long windows | Justin 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-25 | vorbisdec: add a flush() function | Justin Ruggles | |
clear MDCT overlap buffer and reset previous window mode when seeking | |||
2012-02-16 | vorbis: Add ff_ prefix to nonstatic symbols | Martin Storsjö | |
Signed-off-by: Martin Storsjö <martin@martin.st> | |||
2012-02-16 | dsputil: Add ff_ prefix to the dsputil*_init* functions | Martin Storsjö | |
Signed-off-by: Martin Storsjö <martin@martin.st> | |||
2012-02-16 | vlc/rl: Add ff_ prefix to the nonstatic symbols | Martin Storsjö | |
Signed-off-by: Martin Storsjö <martin@martin.st> | |||
2012-02-03 | vorbis: fix overflows in floor1[] vector and inverse db table index. | Ronald S. Bultje | |
2012-01-28 | cosmetics: Remove extra newlines at EOF | Alex Converse | |
2012-01-08 | vorbis: 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-08 | vorbisdec: Fix decoding bug with channel handling | Reinhard Tartler | |
Fixes Bug: #191 Chromium Bug: #101458 CVE-2011-3895 Signed-off-by: Reinhard Tartler <siretart@tauware.de> | |||
2012-01-08 | cosmetics: drop some pointless parentheses | Diego Biurrun | |
2011-12-22 | Drop 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-03 | Add 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-10 | vorbisdec: remove AVCODEC_MAX_AUDIO_FRAME_SIZE check | Justin Ruggles | |
The user could provide a larger buffer, which is already checked separately before writing output. | |||
2011-11-10 | vorbisdec: remove unneeded buf_size==0 check | Justin Ruggles | |
2011-11-10 | vorbisdec: return proper error codes instead of made-up ones | Justin Ruggles | |
2011-10-23 | cosmetics: remove extra spaces before end-of-statement semi-colons | Justin Ruggles | |
2011-10-23 | vorbisdec: check output buffer size before writing output | Justin Ruggles | |
2011-10-20 | lavc: use avpriv_ prefix for ff_split_xiph_headers. | Anton Khirnov | |
It's used in lavf. | |||
2011-07-29 | lavc: use designated initialisers for all codecs. | Anton Khirnov | |
It's more readable and less prone to breakage. | |||
2011-07-15 | doxygen: do not include license boilerplate in Doxygen documentation | Diego Biurrun | |