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-04cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun
2013-09-29alac: Do bounds checking of lpc_order read from the bitstreamMartin Storsjö
In lpc_prediction(), we write up to array element 'lpc_order' in an array allocated to hold 'max_samples_per_frame' elements. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-03alac: Check that the channels fit at the given offsetMartin Storsjö
The code tries to decode a number of channels at the offset given by the ff_alac_channel_layout_offsets table. Even if the number of channels decoded so far doesn't exceed the total number of channels, we need to check that we actually can decode that number of channels at this offset as well. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-03alac: Limit max_samples_per_frameMartin Storsjö
Otherwise buffer size calculations in allocate_buffers could overflow later, making the code think a large enough buffer actually was allocated. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-03-14avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()Diego Biurrun
2013-03-08lavc decoders: work with refcounted frames.Anton Khirnov
2013-02-12alac: decode directly to the user-provided AVFrameJustin Ruggles
2012-12-22alacdec: do not be too strict about the extradata sizeJustin Ruggles
Sometimes the extradata has duplicate atoms, but that shouldn't prevent decoding. Just ensure that it is at least 36 bytes as a sanity check. CC: libav-stable@libav.org
2012-12-06alacenc: add support for multi-channel encodingJustin 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-10-22alacdec: set bits_per_raw_sampleJustin Ruggles
2012-08-07Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov
2012-07-27alac: check for truncated packetsJustin Ruggles
This will give a clearer error message when the error is caused by a truncated packet.
2012-07-27alac: reverse lpc coeff order, simplify filterJustin Ruggles
Reversing the lpc coefficient order simplifies indexing in the filter.
2012-07-20alac: fix channel pointer assignment for 24 and 32-bitJustin Ruggles
Needs to be done separately for each element.
2012-07-19alac: cosmetics: general pretty-printing and comment clean upJustin Ruggles
2012-07-19alac: calculate buffer size outside the loop in allocate_buffers()Justin Ruggles
2012-07-19alac: change some data types to plain intJustin Ruggles
2012-07-19alac: cosmetics: rename some variables and function namesJustin Ruggles
2012-07-19alac: multi-channel decoding supportAndrew D'Addesio
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2012-07-19alac: split element parsing into a separate functionJustin Ruggles
This will make multi-channel implementation simpler. Based partially on a patch by Andrew D'Addesio <modchipv12@gmail.com>.
2012-07-19alac: support a read sample size of up to 32Justin Ruggles
Use get_bits_long() in decode_scalar(). Use unsigned int for decoded value.
2012-07-19alac: output in planar sample formatJustin Ruggles
Avoids unneeded interleaving and allows for reusing the AVFrame output buffer as the internal buffer for 24-bit and 32-bit sample size.
2012-07-19alac: add 32-bit decoding supportJustin Ruggles
2012-07-19alac: simplify channel interleavingAndrew D'Addesio
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2012-07-19alac: use AVPacket fields directly in alac_decode_frame()Justin Ruggles
2012-07-19alac: fix check for valid max_samples_per_frameJustin Ruggles
2012-07-19alac: use get_sbits() to read LPC coefficients instead of castingJustin Ruggles
2012-07-19alac: move the current samples per frame to the ALACContextJustin Ruggles
This will simplify the multi-channel implementation.
2012-07-19alac: avoid using a double-negative when checking if the frame is compressedJustin Ruggles
2012-07-19alac: factor out output_size check in predictor_decompress_fir_adapt()Justin Ruggles
2012-07-19alac: factor out loading of next decoded sample in LPC predictionJustin Ruggles
2012-07-19alac: use index into buffer_out instead of incrementing the pointerJustin Ruggles
2012-07-19alac: simplify lpc coefficient adaptationJustin Ruggles
2012-07-19alac: reduce the number of local variables needed in lpc predictionJustin Ruggles
2012-07-19alac: simplify 1st order prediction and reading of warm-up samplesJustin Ruggles
2012-07-19alac: cosmetics: reindent after last commitJustin Ruggles
2012-07-19alac: remove unneeded conditionals in predictor_decompress_fir_adapt()Justin Ruggles
2012-07-19alac: use sizeof() instead of hardcoded data sizesJustin Ruggles
2012-07-19alac: make block_size signedJustin Ruggles
It does not need to be unsigned.
2012-07-19alac: remove a duplicate local variableJustin Ruggles
2012-07-19alac: conditionally set sign_modifier to 1Justin Ruggles
It is already unconditionally set to 0 prior to this, so we can modify it only when needed.
2012-07-19alac: eliminate 2 unneeded local variables in bastardized_rice_decompress()Justin Ruggles
x_modified is just unnecessary, and final_val can be removed by simplifying the unsigned-to-signed conversion.
2012-07-19alac: adjust conditions for updating entropy decoder historyJustin Ruggles
avoids some unnecessary arithmetic in certain situations
2012-07-19alac: cosmetics: reindent after last commitJustin Ruggles
2012-07-19alac: limit the rice param before passing to decode_scalar()Justin Ruggles
reduces the number of parameters to decode_scalar() and slightly simplifies the code
2012-07-19alac: reduce the number of parameters to bastardized_rice_decompress()Justin Ruggles
Use the ALACContext fields directly instead.
2012-07-19alac: cosmetics: rename some ALACContext parametersJustin Ruggles
2012-07-19alac: clean up and update comments leftover from reverse-engineeringJustin Ruggles