Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-28lavc: change all decoders to behave consistently with AV_EF_CRCCHECK.Anton Khirnov
Just crccheck prints a warning, crccheck+explode returns an error. Also document this behavior.
2013-10-04cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun
2013-05-28wavpack: check that all the channels were coded.Anton Khirnov
2013-05-28wavpack: check that there aren't too many blocks per packetAnton Khirnov
2013-05-28wavpack: extract channel information from the bitstreamAnton Khirnov
This way we don't require the caller to parse the block header. It also allows the channel configuration to change mid-stream.
2013-05-28wavpack: extract sample rate from the bitstreamAnton Khirnov
This way we don't require the caller to parse the block header. It also allows the sample rate to change mid-stream.
2013-05-28matroskadec: export full wavpack blocks.Anton Khirnov
This allows us to get rid of demuxer-specific hacks in the decoder and will allow streamcopy from matroska once we have a wavpack muxer.
2013-05-28wavpack demuxer: export full wavpack blocks.Anton Khirnov
Currently the demuxer shaves the blocks and exports only the information that is useful to the decoder. Exporting the blocks just as they are stored is simpler to understand and will make remuxing wavpack easier.
2013-05-28wavpack: don't set sample format in init.Anton Khirnov
We don't know whether it will be float until we look at the data.
2013-05-28wavpack: remove a useless parameter from wavpack_decode_block().Anton Khirnov
The decoder always returns output if an error does not occur.
2013-05-28wavpack: return an error on 0-sized blocksAnton Khirnov
Such blocks are not valid.
2013-05-28wavpack: remove a useless check.Anton Khirnov
Number of samples in the first block is checked to be strictly positive earlier in wavpack_decode_frame() and number of samples in all the other blocks is checked to be equal to the first one.
2013-05-28wavpack: add an error message to a failure.Anton Khirnov
2013-05-28wavpack: return 0 instead of samples count from decoding functionsAnton Khirnov
The caller never cares about the number of decoded samples, so this only confuses the reader.
2013-05-28wavpack: switch to planar outputAnton Khirnov
This simplifies the code and makes it faster.
2013-05-28wavpack: drop redundant if/else blocksAnton Khirnov
2013-05-28wavpack: remove the subframes codec capAnton Khirnov
The decoder always consumes full packets.
2013-05-23wavpack: check packet size earlyLuca Barbato
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-05-23wavpack: use bytestream2 in wavpack_decode_blockLuca Barbato
Prevent most out of buffer reads. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-05-18wavpack: validate samples size parsed in wavpack_decode_blockLuca Barbato
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-05-18wavpack: return meaningful errorsLuca Barbato
And forward those that were already meaningful.
2013-05-18wavpack: K&R formatting cosmeticsLuca Barbato
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-03-08lavc decoders: work with refcounted frames.Anton Khirnov
2013-02-12wavpack: decode directly to the user-provided AVFrameJustin Ruggles
2012-12-05lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov
It will be useful in the upcoming transition to refcounted AVFrames.
2012-11-11Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles
Also reorder some other #include when applicable.
2012-08-07Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov
2012-07-23wavpack: set bits_per_raw_sample for S32 samples to properly identify 24-bitHendrik Leppkes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-03-02wavpack: Fix an integer overflowDerek Buitenhuis
Integer Overflow Checker detected an integer overflow while FATE was running. See: http://fate.libav.org/x86_64-linux-ioc/ Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-02-23wavpack: Don't shift minclip/maxclipDerek Buitenhuis
Since we are clipping before we shift the values to 16 or 32 bits, we should not shift the min/max clip values to compensate. Fixes 8 and 24 bit lossy decoding. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-02-11wavpack: add needed braces for 2 statements inside an if blockJustin Ruggles
2012-02-11wavpack: allow user to disable CRC checkingPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2012-01-15wavpack: fix clipping for 32-bit lossy modeKostya Shishkov
Reference decoder clips data before shifting it to final range and also forces 32-bit lossy mode to be actually 24-bit lossy mode in order to be able to perform proper clipping.
2012-01-02wavpack: fix typos in previous cosmetic clean-up commitJustin Ruggles
2012-01-02wavpack: cosmetics: K&R pretty-printingJustin Ruggles
2012-01-02wavpack: determine sample_fmt before requesting a bufferHendrik Leppkes
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2011-12-22Drop ALT_ prefix from BITSTREAM_READER_LE name.Diego Biurrun
The prefix is a historic remnant that probably meant "alternative". Now that the A32 bitstream reader has been dropped it makes no sense anymore.
2011-12-16wavpack: Fix 32-bit clippingDerek Buitenhuis
In the case that (frame_flags & 0x03) == 3, hybrid_maxclip may have had a signed integer overflow. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-12-16wavpack: Clip samples after shiftingDerek Buitenhuis
It doesn't make much sense to clip pre-shift, nor is it correct for proper decoding. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-12-04wavpack: Properly clip samples during lossy decodeDerek Buitenhuis
When decoding lossy WavPack samples, they are supposed to be clipped, in order to be decoded correctly. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-12-03Add avcodec_decode_audio4().Justin Ruggles
Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
2011-10-23wavpack: calculate bpp using av_get_bytes_per_sample()Justin Ruggles
2011-10-07wavpack: Reset internal state on corrupted blocksLaurent Aimar
wavpack_decode_block() supposes that it is called back with the exact same buffer unless it has returned with an error. With multi-channels files, wavpack_decode_frame() was breaking this assumption. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-09-10Fixed segfault with wavpack decoder on corrupted decorrelation terms sub-blocks.Laurent Aimar
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-09-08wavpack: Check error codes rather than working around error conditions.Alex Converse
2011-09-08Fixed invalid access in wavpack decoder on corrupted bitstream.Laurent Aimar
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-09-08Fixed invalid writes in wavpack decoder on corrupted bitstreams.Laurent Aimar
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-09-08Fixed invalid access in wavpack decoder on corrupted extra bits sub-blocks.Laurent Aimar
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-09-05wavpack: fix wrong return value in wavpack_decode_block()Kostya Shishkov
This function should return number of samples decoded, not number of bytes decoded. Spotted by Uoti Urpala. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-09-05wavpack: use context reset in appropriate placesKostya Shishkov
This fixes improper flushing in the cases when the same frame is decoded in several iterations (for being too large to fit into output buffer) and flush is called mid-decoding and it also resets context in case of decoding errors. Signed-off-by: Anton Khirnov <anton@khirnov.net>