summaryrefslogtreecommitdiff
path: root/libavcodec/vorbis_dec.c
Commit message (Collapse)AuthorAge
* vorbis: Rename decoder/encoder files to follow general file naming scheme.Diego Biurrun2011-04-23
|
* fft: remove inline wrappers for function pointersMans Rullgard2011-03-19
| | | | | | | This removes the rather pointless wrappers (one not even inline) for calling the fft_calc and related function pointers. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* vorbis dec: Remove obsolete commentAlexander Strasser2011-02-10
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vorbis dec: cosmetics: Indent consistentlyAlexander Strasser2011-02-10
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vorbis dec: cosmetics: Indent CPP cond properlyAlexander Strasser2011-02-10
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vorbis dec: Delete useless scopes, and reindent after scope deletionAlexander Strasser2011-02-10
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Separate format conversion DSP functions from DSPContext.Justin Ruggles2011-02-02
| | | | | | | This will be beneficial for use with the audio conversion API without requiring it to depend on all of dsputil. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove unneeded add bias from 3 functions.Justin Ruggles2011-01-31
| | | | | | | | DSPContext.vector_fmul_window() DCADSPContext.lfe_fir() SynthFilterContext.synth_filter_float() Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove the add bias hack for the C version of DSPContext.float_to_int16_*().Justin Ruggles2011-01-28
|
* 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>
* Change DSPContext.vector_fmul() from dst=dst*src to dest=src0*src1.Justin Ruggles2011-01-22
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Second hunk from secrity fix from google.Frank Barchard2011-01-15
| | | | | | | | | | | | | The hunk is not fully understood but it just makes a check tighter so its safer for us to apply until it is fully understood. Might fix issue 2550 (and Chrome issue 68115 and unknown CERT issues). Our bugtracker issue though should stay open until this has been fully investiagted Patch by Frank Barchard, fbarchard at google Originally committed as revision 26368 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check rangebits to avoid a possible crash.Frank Barchard2011-01-15
| | | | | | | | Fixes issue 2548 (and Chrome issue 68115 and unknown CERT issues). Patch by Frank Barchard, fbarchard at google Originally committed as revision 26365 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: dx shouldn't exist.Alex Converse2010-11-12
| | | | | | sorry sorry sorry sorry Originally committed as revision 25726 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: vorbisdec: declare dyAlex Converse2010-11-12
| | | | Originally committed as revision 25725 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbisdec: Fix floor1 decodingGregory Maxwell2010-11-12
| | | | | | | | | | | | | | | | | | | | | An intermediate value in the floor 1 linear interpolation was overflowing resulting in obvious artifacts on some files. e.g. http://upload.wikimedia.org/wikipedia/commons/7/79/Big_Buck_Bunny_small.ogv Prior to this fix 87 out of 128 64kbit/s mono files decoded with ffmpeg have lower PEAQ ODG values than the same files decoded with libvorbis. With this fix none of that set have significantly worse ODG values than libvorbis. Fixes issue 2352 Patch by Gregory Maxwell <greg@xiph.org> Originally committed as revision 25724 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix crashes in vorbis decoding found by zzufJason Garrett-Glaser2010-10-27
| | | | | | Fixes issue 2322. Originally committed as revision 25591 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbisdec: Use int instead of uint16_fast_t for index variablesDavid Conrad2010-08-30
| | | | | | | uint16_fast_t is unsigned int (or long) on Linux, which when compared with int results in an unsigned compare. Originally committed as revision 24994 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbis_dec: Change partition_class[] to uint8_t.Alex Converse2010-08-06
| | | | | | When sizeof(uint_fast8_t) >= sizeof(int) there are unintended size effects. Originally committed as revision 24716 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbisdec: Return AVERROR(ENOMEM) on malloc() failure.Alex Converse2010-08-03
| | | | | | This is especially important because classifs can be very large. Originally committed as revision 24676 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbisdec: Prevent a potential integer overflow.Alex Converse2010-08-03
| | | | | | | If sizeof uint_fast8_t > 1 and sizeof size_t <= 4, the expression that mallocs classifs is susceptible to integer overflow. Originally committed as revision 24675 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbisdec: change a uint_fast32_t to 'unsigned', fix llvm-gcc buildMåns Rullgård2010-08-02
| | | | Originally committed as revision 24669 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix use of unintialized variable introduced in r20411.Reimar Döffinger2010-07-02
| | | | Originally committed as revision 24005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbisdec: remove variable-length arraysMåns Rullgård2010-07-01
| | | | Originally committed as revision 23960 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbisdec: Take channels into account when checking against residue overflowDavid Conrad2010-06-27
| | | | | | Fixes issue1969 Originally committed as revision 23812 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbisdec: Fix header parsing with no floor1 partitionsDavid Conrad2010-06-27
| | | | Originally committed as revision 23811 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbisdec: Remove write-only variableDavid Conrad2010-06-27
| | | | Originally committed as revision 23810 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move FFT parts from dsputil.h to fft.hMåns Rullgård2010-03-06
| | | | Originally committed as revision 22235 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for vorbis 6.1 and 7.1 channel configurations as per the new specRobert Swain2010-01-29
| | | | | | http://xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-800004.3.9 Originally committed as revision 21527 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More sane error message when extradata has not been set.Michael Niedermayer2009-12-18
| | | | Originally committed as revision 20894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbis_dec: factor out duplicated code for index reading, bounds checking andReimar Döffinger2009-10-28
| | | | | | error message into a shared macro. Originally committed as revision 20411 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after channel layout commit from yesterdayRobert Swain2009-10-03
| | | | Originally committed as revision 20156 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add vorbis channel layout support according to those defined in the Vorbis IRobert Swain2009-10-02
| | | | | | specification Originally committed as revision 20148 to svn://svn.ffmpeg.org/ffmpeg/trunk
* whitespace cosmetics, prettyprinting, K&R coding styleDiego Biurrun2009-09-29
| | | | Originally committed as revision 20080 to svn://svn.ffmpeg.org/ffmpeg/trunk
* some more linebreak and brace placement cosmeticsDiego Biurrun2009-09-28
| | | | Originally committed as revision 20071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* brace placement and linebreak cosmeticsDiego Biurrun2009-09-28
| | | | Originally committed as revision 20070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix format string to match the types printed.Reimar Döffinger2009-09-23
| | | | Originally committed as revision 20003 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check submap indexes.Google Chrome2009-09-23
| | | | | | | | 10_vorbis_submap_indexes.patch by chrome. I am applying this even though Reimar had some comments to improve it as it fixes a serious security issue and I do not want to leave such things unfixed. Originally committed as revision 20001 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make error return sign consistent.Michael Niedermayer2009-09-23
| | | | Originally committed as revision 19997 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check begin/end/partition_size.Google Chrome2009-09-23
| | | | | | | | 23_vorbis_sane_partition.patch by chrome. Also this should be better documented but i prefer not to leave potential security issues open due to missing documentation. Originally committed as revision 19996 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check res_setup->books.Google Chrome2009-09-23
| | | | | | 15_more_residue_book_indexes.patch by chrome. Originally committed as revision 19992 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check masterbook index and subclass book index.Google Chrome2009-09-23
| | | | | | 14_floor_masterbook_index.patch by chrome Originally committed as revision 19991 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add checks for per-packet mode indexes and per-header mode mapping indexes.Google Chrome2009-09-23
| | | | | | | 12_vorbis_mode_indexes.patch by chrome maybe exploitable Originally committed as revision 19990 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check classbook value.Google Chrome2009-09-23
| | | | | | 11_vorbis_residue_book_index.patch by chrome. Originally committed as revision 19989 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix book_idx check.Google Chrome2009-09-23
| | | | | | 25_vorbis_floor0_index.patch by chrome. Originally committed as revision 19984 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Sanity checks for magnitude and angle.Google Chrome2009-09-23
| | | | | | 26_vorbis_mag_angle_index.patch by chrome Originally committed as revision 19983 to svn://svn.ffmpeg.org/ffmpeg/trunk