Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use bitstream_init8() where appropriate | Diego Biurrun | 2017-02-07 | 1 | -2/+2 |
| | |||||
* | tta: Convert to the new bitstream reader | Alexandra Hájková | 2016-12-19 | 1 | -23/+23 |
| | |||||
* | unary: Convert to the new bitstream reader | Alexandra Hájková | 2016-12-19 | 1 | -1/+1 |
| | |||||
* | tta: avoid undefined shifts | Anton Khirnov | 2016-11-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | tta: use get_unary() instead of a custom implementation | Anton Khirnov | 2016-11-25 | 1 | -11/+2 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | get_bits: Move BITSTREAM_READER_LE definition before all relevant #includes | Diego Biurrun | 2016-06-07 | 1 | -2/+4 |
| | | | | | | | This avoids the danger that get_bits.h might get indirectly #included before BITSTREAM_READER_LE is defined. Also sort headers into canonical order where appropriate. | ||||
* | lavc: AV-prefix all codec capabilities | Vittorio Giovara | 2015-07-27 | 1 | -1/+1 |
| | | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | lavc: change all decoders to behave consistently with AV_EF_CRCCHECK. | Anton Khirnov | 2013-10-28 | 1 | -2/+4 |
| | | | | | | Just crccheck prints a warning, crccheck+explode returns an error. Also document this behavior. | ||||
* | cosmetics: Group .name and .long_name together in codec/format declarations | Diego Biurrun | 2013-10-03 | 1 | -1/+1 |
| | |||||
* | Remove commented-out debug #define cruft | Diego Biurrun | 2013-05-16 | 1 | -1/+0 |
| | |||||
* | avcodec: av_log_missing_feature(1) ---> avpriv_request_sample() | Diego Biurrun | 2013-03-13 | 1 | -1/+1 |
| | |||||
* | av_log_missing_feature() ---> avpriv_report_missing_feature() | Diego Biurrun | 2013-03-13 | 1 | -1/+1 |
| | |||||
* | lavc decoders: work with refcounted frames. | Anton Khirnov | 2013-03-08 | 1 | -1/+1 |
| | |||||
* | tta: decode directly to the user-provided AVFrame | Justin Ruggles | 2013-02-12 | 1 | -12/+8 |
| | |||||
* | ttadec: fix last frame handling when seeking | Justin Ruggles | 2012-12-22 | 1 | -13/+17 |
| | | | | | | | | | Using a frame count, as is done currently, does not work at all with seeking. Instead, when the number of samples in the final frame has been decoded, we check if only the 32-bit CRC is remaining. If so, we assume that it is the final frame. There is no longer a need to keep total_frames in TTAContext. | ||||
* | lavc: add a wrapper for AVCodecContext.get_buffer(). | Anton Khirnov | 2012-12-04 | 1 | -1/+2 |
| | | | | It will be useful in the upcoming transition to refcounted AVFrames. | ||||
* | Use proper return values in case of missing features | Diego Biurrun | 2012-10-12 | 1 | -1/+1 |
| | |||||
* | Replace all CODEC_ID_* with AV_CODEC_ID_* | Anton Khirnov | 2012-08-07 | 1 | -1/+1 |
| | |||||
* | Improve descriptiveness of a number of codec and container long names | Diego Biurrun | 2012-07-30 | 1 | -1/+1 |
| | |||||
* | tta: Fix comment about channel number; TTA supports >2 channels. | Aneesh Dogra | 2012-05-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | tta: prevents overflows for 32bit integers in header. | Ronald S. Bultje | 2012-05-02 | 1 | -3/+5 |
| | | | | | | | | This prevents sample_rate/data_length from going negative, which caused various crashes and undefined behaviour further down. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | cosmetics: Align codec declarations | Martin Storsjö | 2012-04-06 | 1 | -1/+1 |
| | | | | | | | 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> | ||||
* | ttadec: unbreak playback of matroska files | Paul B Mahol | 2012-03-08 | 1 | -2/+1 |
| | | | | | | | | Matroska demuxer needs to recreate tta header, so just display crc error without aborting. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | ||||
* | ttadec: cosmetics: reindent | Paul B Mahol | 2012-02-19 | 1 | -4/+4 |
| | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> | ||||
* | ttadec: use branchless unsigned-to-signed unfolding | Justin Ruggles | 2012-02-17 | 1 | -2/+1 |
| | |||||
* | ttadec: remove dead code | Paul B Mahol | 2012-02-17 | 1 | -28/+17 |
| | | | | | | | | The unused code being removed is for encoding only and therefore is not needed by the decoder. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> | ||||
* | ttadec: CRC checking | Paul B Mahol | 2012-02-14 | 1 | -0/+33 |
| | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> | ||||
* | tta: error out if samplerate is zero. | Ronald S. Bultje | 2012-02-11 | 1 | -0/+3 |
| | | | | | | | Prevents a division by zero later on. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | ttadec: fix invalid free when an error occurs while decoding 24-bit tta | Justin Ruggles | 2012-02-10 | 1 | -6/+17 |
| | |||||
* | tta: use skip_bits_long() | Paul B Mahol | 2012-02-09 | 1 | -7/+5 |
| | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | tta: cast output data pointer to the correct type | Justin Ruggles | 2012-01-17 | 1 | -1/+1 |
| | | | | fixes "warning: assignment from incompatible pointer type" | ||||
* | tta: fix 24-bit decoding. | Justin Ruggles | 2012-01-07 | 1 | -1/+1 |
| | | | | Decode to the correct output buffer. | ||||
* | Drop ALT_ prefix from BITSTREAM_READER_LE name. | Diego Biurrun | 2011-12-22 | 1 | -1/+1 |
| | | | | | The prefix is a historic remnant that probably meant "alternative". Now that the A32 bitstream reader has been dropped it makes no sense anymore. | ||||
* | ttadec: check channel count as read from extradata. | Shitiz Garg | 2011-12-10 | 1 | -0/+5 |
| | | | | | | | fixes floating-point exception due to channels being set to 0. fixes Bug 128. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> | ||||
* | Add avcodec_decode_audio4(). | Justin Ruggles | 2011-12-02 | 1 | -11/+17 |
| | | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders. | ||||
* | tta: use an integer instead of a pointer to iterate output samples | Justin Ruggles | 2011-11-11 | 1 | -1/+1 |
| | |||||
* | tta: check for allocation failure of decode_buffer | Justin Ruggles | 2011-10-25 | 1 | -1/+5 |
| | |||||
* | tta: use correct frame_length calculation. | Justin Ruggles | 2011-10-25 | 1 | -7/+6 |
| | | | | using a floating-point calculation is not necessary. | ||||
* | tta: add support for decoding 24-bit sample format | Justin Ruggles | 2011-10-25 | 1 | -22/+34 |
| | | | | | | Note that this will not work in most cases with avconv and avplay due to the AVCODEC_MAX_AUDIO_FRAME_SIZE limit, but it will decode correctly if given a large enough output buffer. | ||||
* | cosmetics: indentation | Justin Ruggles | 2011-10-25 | 1 | -94/+94 |
| | |||||
* | tta: remove pointless braces | Justin Ruggles | 2011-10-25 | 1 | -4/+2 |
| | |||||
* | tta: check output buffer size after adjusting frame length for last frame | Justin Ruggles | 2011-10-25 | 1 | -4/+5 |
| | |||||
* | tta: fix reading of format in TTA header. | Justin Ruggles | 2011-10-25 | 1 | -18/+14 |
| | | | | TTA does not support float at all, and format 2 is encrypted TTA. | ||||
* | tta: remove useless commented-out lines | Justin Ruggles | 2011-10-25 | 1 | -13/+0 |
| | |||||
* | tta: check remaining bitstream size while reading unary value | Justin Ruggles | 2011-10-25 | 1 | -1/+1 |
| | |||||
* | Fixed size given to init_get_bits(). | Laurent Aimar | 2011-09-15 | 1 | -1/+1 |
| | | | | | | | init_get_bits() takes a number of bits and not a number of bytes as its size argument. Signed-off-by: Alex Converse <alex.converse@gmail.com> | ||||
* | lavc: use designated initialisers for all codecs. | Anton Khirnov | 2011-07-29 | 1 | -8/+7 |
| | | | | It's more readable and less prone to breakage. | ||||
* | tta: remove disabled code | Diego Biurrun | 2011-07-18 | 1 | -31/+0 |
| | |||||
* | doxygen: use Doxygen markup for authors and web links where appropriate | Diego Biurrun | 2011-07-15 | 1 | -2/+2 |
| | |||||
* | Use av_log_ask_for_sample() where appropriate. | Diego Biurrun | 2011-04-21 | 1 | -2/+3 |
| |