summaryrefslogtreecommitdiff
path: root/libavcodec/vorbisdec.c
Commit message (Collapse)AuthorAge
* vorbisdec: replace div/mod in loop with a counterMans Rullgard2012-06-18
| | | | | | 2x speedup of surround decoding on Cortex-A9. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add a float DSP framework to libavutilJustin Ruggles2012-06-08
| | | | Move vector_fmul() from DSPContext to AVFloatDSPContext.
* vorbis: Validate that the floor 1 X values contain no duplicates.Alex Converse2012-06-05
| | | | | Duplicate values in this vector are explicitly banned by the Vorbis I spec and cause divide-by-zero crashes later on.
* 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>
* vorbisdec: avoid invalid memory accessAaron Colwell2012-03-08
| | | | | | | | | 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>
* avcodec: add a Vorbis parser to get packet durationJustin Ruggles2012-03-03
| | | | This also allows for removing some of the Vorbis-related hacks.
* vorbisdec: read the previous window flag for long windowsJustin Ruggles2012-03-03
| | | | | | 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.
* vorbisdec: add a flush() functionJustin Ruggles2012-02-24
| | | | clear MDCT overlap buffer and reset previous window mode when seeking
* vorbis: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vlc/rl: Add ff_ prefix to the nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vorbis: fix overflows in floor1[] vector and inverse db table index.Ronald S. Bultje2012-02-02
|
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-27
|
* vorbis: An additional defense in the Vorbis codec.Chris Evans2012-01-08
| | | | | | | | Fixes Bug: #190 Chromium Bug: #100543 Related to CVE-2011-3893 Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* vorbisdec: Fix decoding bug with channel handlingReinhard Tartler2012-01-07
| | | | | | | | Fixes Bug: #191 Chromium Bug: #101458 CVE-2011-3895 Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* cosmetics: drop some pointless parenthesesDiego Biurrun2012-01-07
|
* Drop ALT_ prefix from BITSTREAM_READER_LE name.Diego Biurrun2011-12-22
| | | | | The prefix is a historic remnant that probably meant "alternative". Now that the A32 bitstream reader has been dropped it makes no sense anymore.
* Add avcodec_decode_audio4().Justin Ruggles2011-12-02
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* vorbisdec: remove AVCODEC_MAX_AUDIO_FRAME_SIZE checkJustin Ruggles2011-11-10
| | | | | The user could provide a larger buffer, which is already checked separately before writing output.
* vorbisdec: remove unneeded buf_size==0 checkJustin Ruggles2011-11-10
|
* vorbisdec: return proper error codes instead of made-up onesJustin Ruggles2011-11-10
|
* cosmetics: remove extra spaces before end-of-statement semi-colonsJustin Ruggles2011-10-23
|
* vorbisdec: check output buffer size before writing outputJustin Ruggles2011-10-23
|
* lavc: use avpriv_ prefix for ff_split_xiph_headers.Anton Khirnov2011-10-20
| | | | It's used in lavf.
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* doxygen: do not include license boilerplate in Doxygen documentationDiego Biurrun2011-07-15
|
* Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().Justin Ruggles2011-06-20
| | | | av_get_bits_per_sample_fmt() is deprecated.
* vorbisdec: Restore mistakenly removed debug output.Diego Biurrun2011-06-07
|
* vorbis: Remove non-compiling debug statement.Diego Biurrun2011-06-03
|
* vorbis: Remove pointless DEBUG #ifdef around debug output macros.Diego Biurrun2011-06-03
|
* Replace #ifdef + av_log() combinations by av_dlog().Diego Biurrun2011-06-03
|
* Replace custom debug output functions by av_dlog().Diego Biurrun2011-06-03
|
* Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbisJustin Ruggles2011-05-18
| | | | | | decoders. Based on patches by clsid2 in ffdshow-tryout.
* Replace int_fast integer types with their sized standard posix counterparts.Diego Biurrun2011-05-12
| | | | | The _fast integer types provide no realworld benefits, but may introduce portability issues and are just plain ugly.
* vorbis: Replace sized int_fast integer types with plain int/unsigned.Diego Biurrun2011-04-29
| | | | | | int/unsigned is the natural memory access type for CPUs, using sized types for temporary variables, counters and similar just increases code size and can possibly cause a slowdown.
* vorbisdec: Replace some sizeof(type) by sizeof(*variable).Diego Biurrun2011-04-29
|
* vorbisdec: Rename silly "class_" variable to plain "class".Diego Biurrun2011-04-27
|
* vorbisdec: Employ proper printf format specifiers for uint_fast32_t.Diego Biurrun2011-04-25
| | | | | libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘uint_fast32_t’ libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘uint_fast32_t’
* vorbis: Rename decoder/encoder files to follow general file naming scheme.Diego Biurrun2011-04-23