summaryrefslogtreecommitdiff
path: root/libavcodec/wmalosslessdec.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: Use get_bitsz where neededAndreas Cadhalpun2016-01-11
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-27
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
|
* avcodec: Don't anonymously typedef structsDiego Biurrun2015-02-14
|
* wmalosslessdec: fix mclms_coeffs* array sizeMichael Niedermayer2014-08-05
| | | | | | | | | Fixes corruption of context Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org Bug-Id: CVE-2014-2098 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: more correct printf specifiersDiego Biurrun2014-03-22
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* wmall: use AVFrame API properlyHendrik Leppkes2013-08-11
| | | | | | This fixes a bug with non-refcounted callers resulting in invalid memory access. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: av_log_missing_feature(1) ---> avpriv_request_sample()Diego Biurrun2013-03-13
|
* avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()Diego Biurrun2013-03-13
|
* av_log_missing_feature() ---> avpriv_report_missing_feature()Diego Biurrun2013-03-13
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* Return proper error code after av_log_ask_for_sample()Diego Biurrun2012-12-23
|
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Improve wording and spelling of av_log_missing_feature messages.Diego Biurrun2012-10-23
|
* wmalossless: output in planar sample formatJustin Ruggles2012-10-14
|
* wmalosslessdec: Reset put bit buffer when num_saved_bits is reset.Michael Niedermayer2012-09-29
| | | | | | | | | Fixes CVE-2012-2799 CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wmalosslessdec: Fix reading too many bits in decode_channel_residues()Anton Khirnov2012-09-29
| | | | | | | | | | Fixes a part of CVE-2012-2795 CC:libav-stable@libav.org Based on a patch by Michael Niedermayer <michaelni@gmx.at> Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* wmalosslessdec: fix a get_bits(0) in decode_ac_filterMichael Niedermayer2012-09-29
| | | | | | | | | Fixes a part of CVE-2012-2795 CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wmalosslessdec: make MCLMS arrays big enough for what is written into them.Michael Niedermayer2012-09-29
| | | | | | | | | Fixes a part of CVE-2012-2795 CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wmalosslessdec: increase channel_coeffs/residues sizeAnton Khirnov2012-09-29
| | | | | | Fixes CVE-2012-2792 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* wmalosslessdec: increase WMALL_BLOCK_MAX_BITS to 14.Anton Khirnov2012-09-29
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* Mark a number of variables only used in av_dlog() calls as av_unused.Diego Biurrun2012-05-06
| | | | This fixes a number of unused-but-set gcc warnings.
* WMAL: Shift output samples by the specified number of padding zeroes.Jakub Stachowski2012-05-05
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* WMAL: Restore removed code in mclms_predict()Mashiat Sarker Shakkhar2012-05-05
| | | | | | Based on observations made by Jakub Stachowski <qbast@go2.pl> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* wmall: fix reconstructing audio with uncoded channelsKostya Shishkov2012-05-02
|
* WMAL cosmetics: fix indentationMashiat Sarker Shakkhar2012-05-02
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* WMAL: do not output last frame again if nothing was decoded in current packetJakub Stachowski2012-05-01
| | | | | | Reviewed-by: Mashiat Sarker Shakkhar <mashiat.sarker@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* WMAL: do not start decoding if frame does not end in current packetMashiat Sarker Shakkhar2012-05-01
| | | | | | | This fixes decoding of frames which span more than two packets. Tested with recit24.wma. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* wmal: vertical alignment cosmeticsMashiat Sarker Shakkhar2012-04-14
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* wmal: Warn about missing bitstream splicing feature and ask for sample.Mashiat Sarker Shakkhar2012-04-14
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* wmal: Skip seekable_frame_in_packet.Mashiat Sarker Shakkhar2012-04-14
| | | | | | | There is no point in storing the value in a variable, since it is not used anywhere else in the decoder. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* wmal: Drop unused variable num_possible_block_size.Mashiat Sarker Shakkhar2012-04-14
| | | | | | This is probably a leftover from WMA Pro. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* WMAL: Do not try to read rawpcm coefficients if bits is invalidMichael Niedermayer2012-04-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* WMAL: Remove inaccurate and unnecessary doxyMashiat Sarker Shakkhar2012-03-29
| | | | | | | | A call to decode_packet() does not always decode a complete WMA packet. Moreover, this is not the correct place to document calls that are part of the public API. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* wmall: fix seeking.Ronald S. Bultje2012-03-28
|
* wmalossless: error out if a subframe is not used by any channel.Ronald S. Bultje2012-03-22
| | | | | | | Prevents infinite loop because min_channel_len never increments. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wmalossless: reset sample pointer for each subframe.Ronald S. Bultje2012-03-22
| | | | | | | Prevents overwrites when some subframes only encode some channels. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wmalossless: error out on invalid values for order.Ronald S. Bultje2012-03-22
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wmall: output packet only if we have decoded some samplesKostya Shishkov2012-03-22
| | | | | Also set CODEC_CAP_DELAY to indicate that decoder may still have some undecoded data left in internal buffer.
* wmall: fix build with -DDEBUG enabled.Ronald S. Bultje2012-03-07
|
* wma: Refactor common code to fix standalone compilation of WMA lossless decoder.Diego Biurrun2012-03-07
|
* Windows Media Audio Lossless decoderMashiat Sarker Shakkhar2012-03-02
Decodes 16-bit WMA Lossless encoded files. 24-bit is not supported yet. Bitstream parser written by Andreas Öman with contributions from Baptiste Coudurier and Ulion. Includes a number of bug-fixes from Benjamin Larsson, Michael Niedermayer and Konstantin Shishkov, shine and polish by Diego Biurrun. Signed-off-by: Diego Biurrun <diego@biurrun.de>