summaryrefslogtreecommitdiff
path: root/libavcodec/tta.c
Commit message (Collapse)AuthorAge
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* Improve descriptiveness of a number of codec and container long namesDiego Biurrun2012-07-30
|
* tta: Fix comment about channel number; TTA supports >2 channels.Aneesh Dogra2012-05-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* tta: prevents overflows for 32bit integers in header.Ronald S. Bultje2012-05-02
| | | | | | | | 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 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>
* ttadec: unbreak playback of matroska filesPaul B Mahol2012-03-08
| | | | | | | | 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: reindentPaul B Mahol2012-02-19
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* ttadec: use branchless unsigned-to-signed unfoldingJustin Ruggles2012-02-17
|
* ttadec: remove dead codePaul B Mahol2012-02-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 checkingPaul B Mahol2012-02-14
| | | | | 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. Bultje2012-02-11
| | | | | | | 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 ttaJustin Ruggles2012-02-10
|
* tta: use skip_bits_long()Paul B Mahol2012-02-09
| | | | | 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 typeJustin Ruggles2012-01-17
| | | | fixes "warning: assignment from incompatible pointer type"
* tta: fix 24-bit decoding.Justin Ruggles2012-01-07
| | | | Decode to the correct output buffer.
* 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.
* ttadec: check channel count as read from extradata.Shitiz Garg2011-12-10
| | | | | | | 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 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.
* tta: use an integer instead of a pointer to iterate output samplesJustin Ruggles2011-11-11
|
* tta: check for allocation failure of decode_bufferJustin Ruggles2011-10-25
|
* tta: use correct frame_length calculation.Justin Ruggles2011-10-25
| | | | using a floating-point calculation is not necessary.
* tta: add support for decoding 24-bit sample formatJustin Ruggles2011-10-25
| | | | | | 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: indentationJustin Ruggles2011-10-25
|
* tta: remove pointless bracesJustin Ruggles2011-10-25
|
* tta: check output buffer size after adjusting frame length for last frameJustin Ruggles2011-10-25
|
* tta: fix reading of format in TTA header.Justin Ruggles2011-10-25
| | | | TTA does not support float at all, and format 2 is encrypted TTA.
* tta: remove useless commented-out linesJustin Ruggles2011-10-25
|
* tta: check remaining bitstream size while reading unary valueJustin Ruggles2011-10-25
|
* Fixed size given to init_get_bits().Laurent Aimar2011-09-15
| | | | | | | 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 Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* tta: remove disabled codeDiego Biurrun2011-07-18
|
* doxygen: use Doxygen markup for authors and web links where appropriateDiego Biurrun2011-07-15
|
* Use av_log_ask_for_sample() where appropriate.Diego Biurrun2011-04-21
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove a few if (p) av_free(p) formsClément Bœsch2011-02-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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>
* 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
* tta: remove stray semicolonMåns Rullgård2010-09-11
| | | | Originally committed as revision 25103 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* tta: replace potentially huge VLAs with malloc/free in contextMåns Rullgård2010-06-24
| | | | Originally committed as revision 23759 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
* Cosmetics : add a space after ",".Jai Menon2010-03-29
| | | | Originally committed as revision 22717 to svn://svn.ffmpeg.org/ffmpeg/trunk
* TTA : Check if the output buffer size is within bounds.Jai Menon2010-03-28
| | | | | | Fixes issue 1848. Originally committed as revision 22711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fixed overreads in TTA decoder with corrupted bistreams.Laurent Aimar2010-03-03
| | | | Originally committed as revision 22176 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some missing codecs and update names to match the codec long_nameJustin Ruggles2009-03-02
| | | | | | or vice-versa. Originally committed as revision 17706 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove ff_get_fourcc() and use AV_RL32() insteadAurelien Jacobs2009-01-17
| | | | Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk