summaryrefslogtreecommitdiff
path: root/libavcodec/wmaprodec.c
Commit message (Collapse)AuthorAge
* wmaprodec: check num_vec_coeffs for validityMichael Niedermayer2012-09-29
| | | | | | | Fixes CVE-2012-2789 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* Revert "wmapro: prevent division by zero when sample rate is unspecified"Ronald S. Bultje2012-08-03
| | | | | This reverts commit 36936080239ba9e162f9f5d0f722ce579cb606cf. It was already applied; no idea why it didn't error out while re-applying it.
* wmapro: prevent division by zero when sample rate is unspecifiedSean McGovern2012-08-03
| | | | | | This fixes Bugzilla #327: Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* wmapro: prevent division by zero when sample rate is unspecifiedSean McGovern2012-08-03
| | | | | | This fixes Bugzilla #327: Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* 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>
* cosmetics: Consistently place static, inline and av_cold attributes/keywords.Diego Biurrun2012-04-04
|
* Replace memset(0) by zero initializations.Diego Biurrun2012-03-28
| | | | Also remove one pointless zero initialization in rangecoder.c.
* wma: Refactor common code to fix standalone compilation of WMA lossless decoder.Diego Biurrun2012-03-07
|
* doxygen: Remove documentation for non-existing parameters; misc small fixes.Diego Biurrun2012-02-28
|
* wmapro: change max. block size to 13 bits.Ronald S. Bultje2012-02-16
| | | | | | | WMApro actually support 13-bits block sizes (potentially even up to 14), and thus we should support that also. If we get block sizes beyond what the decoder can handle (14 is possible depending on s->decode_flags), error out instead of crashing.
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* wmapro: use av_float2int()Mans Rullgard2011-12-11
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix a bunch of common typos.Diego Biurrun2011-12-11
|
* 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.
* wmapro: fix strict-aliasing violations by using av_alias32Justin Ruggles2011-10-28
| | | | Also fix some undefined unsigned/signed conversions.
* wmapro: use FmtConvertContext.float_interleave() to interleave output samplesJustin Ruggles2011-10-28
|
* lavc: use avpriv_ prefix for ff_copy_bits and align_put_bits.Anton Khirnov2011-10-20
| | | | They are used in lavf.
* wmapro: Validate the number of audio channels before using itLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* Mark some variables with av_unusedMans Rullgard2011-06-03
| | | | | | | Most of these variables are only used in av_dlog statements, some are required but not used by other macros. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add AVX FFT implementation.Vitor Sessak2011-04-26
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Move sine windows to a separate fileMans Rullgard2011-03-20
| | | | | | | These windows do not really belong in fft/mdct files and were easily confused with the similarly named tables used by rdft. Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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>
* 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>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* 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>
* support decoding of files that contain the numberSascha Sommer2011-01-16
| | | | | | | of vector coded coefficients in their bitstream fixes issue 2536 Originally committed as revision 26388 to svn://svn.ffmpeg.org/ffmpeg/trunk
* do not read over the end of the packetSascha Sommer2011-01-15
| | | | | | fixes issue 2543 Originally committed as revision 26367 to svn://svn.ffmpeg.org/ffmpeg/trunk
* also support decoding of AVPackets with multiple wma packetsSascha Sommer2011-01-14
| | | | | | fixes issue 2539 Originally committed as revision 26346 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add support for blocksize 64Sascha Sommer2011-01-14
| | | | | | fixes issue 2537 and 2538 Originally committed as revision 26328 to svn://svn.ffmpeg.org/ffmpeg/trunk
* skip unsupported postproc informationSascha Sommer2011-01-08
| | | | Originally committed as revision 26268 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add support for files that do not allow more than 4 subframesSascha Sommer2011-01-08
| | | | Originally committed as revision 26267 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix indentationSascha Sommer2011-01-08
| | | | Originally committed as revision 26266 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add support for files where the frames do not have a length prefixSascha Sommer2011-01-08
| | | | Originally committed as revision 26265 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
* Change a doxy comment to a normal one.Benoit Fouet2010-08-02
| | | | Originally committed as revision 24662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix doxy that refers to the wrong variable.Michael Niedermayer2010-07-27
| | | | Originally committed as revision 24549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move clipping of audio samples (for those codecs outputting float) from decoderRonald S. Bultje2010-04-21
| | | | | | to the audio conversion routines. Originally committed as revision 22937 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
* Simplify interleaving code.Ronald S. Bultje2010-03-29
| | | | Originally committed as revision 22719 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make wmaprodec.c:decode_init() return AVERROR_INVALIDDATA /Stefano Sabatini2010-03-25
| | | | | | | AVERROR_PATCHWELCOME in case of invalid / unsupported number of channels specified, rather than return AVERROR_NOTSUPP. Originally committed as revision 22674 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove DECLARE_ALIGNED_{8,16} macrosMåns Rullgård2010-03-06
| | | | | | | These macros are redundant. All uses are replaced with the generic DECLARE_ALIGNED macro instead. Originally committed as revision 22233 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-22
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for hard-coded MDCT-related ff_sine_windows tables.Reimar Döffinger2010-01-09
| | | | Originally committed as revision 21108 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WMAPRO: use some type punning in decode_coeffs()Måns Rullgård2009-10-18
| | | | Originally committed as revision 20284 to svn://svn.ffmpeg.org/ffmpeg/trunk
* increase maximum compressed frame sizeSascha Sommer2009-10-03
| | | | | | fixes playback of piece.wmv Originally committed as revision 20155 to svn://svn.ffmpeg.org/ffmpeg/trunk
* return AVERROR_INVALIDDATA when the bitstream could not be decodedSascha Sommer2009-10-03
| | | | Originally committed as revision 20154 to svn://svn.ffmpeg.org/ffmpeg/trunk