- 29 Oct, 2011 40 commits
-
-
Michael Niedermayer authored
* qatar/master: (51 commits) cin audio: use sign_extend() instead of casting to int16_t cin audio: restructure decoding loop to avoid a separate counter variable cin audio: use local variable for delta value cin audio: remove unneeded cast from void* cin audio: validate the channel count cin audio: remove unneeded AVCodecContext pointer from CinAudioContext dsicin: fix several audio-related fields in the CIN demuxer flacdec: use av_get_bytes_per_sample() to get sample size dca: handle errors from dca_decode_block() dca: return error if the frame header is invalid dca: return proper error codes instead of -1 utvideo: handle empty Huffman trees binkaudio: change short to int16_t binkaudio: only decode one block at a time. binkaudio: store interleaved overlap samples in BinkAudioContext. binkaudio: pre-calculate quantization factors binkaudio: add some buffer overread checks. atrac3: support float or int16 output using request_sample_fmt atrac3: add CODEC_CAP_SUBFRAMES capability atrac3: return appropriate error codes instead of -1 ... Conflicts: libavcodec/atrac1.c libavcodec/dca.c libavformat/mov.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Based on code by Aaron Miller <amiller@atlasdigital.tv> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Carl Eugen Hoyos authored
-
Carl Eugen Hoyos authored
-
Carl Eugen Hoyos authored
-
Justin Ruggles authored
-
Justin Ruggles authored
Also check output buffer size instead of truncating output.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
bits_per_coded_sample should be 8. block_align is calculated incorrectly, but it is not needed anyway. packet pts should be calculated in samples. packet duration can be set.
-
Vladimir Voroshilov authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Justin Ruggles authored
-
Justin Ruggles authored
Return error if core block decoding fails. Do not enable XCh if XCh extension block decoding fails.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Kostya Shishkov authored
If the frame is filled with the same colour, encoder may produce no data and the fill value is indicated by zero code length (the rest of symbols will have 0xFF for code length, meaning invalid). So such Huffman trees should be treated specially. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Justin Ruggles authored
-
Justin Ruggles authored
This prevents truncating output due to an output buffer that is too small for all blocks. There is no limit on the number of blocks in a packet.
-
Justin Ruggles authored
This fixes the requirement for the buffer size to be larger than the number of samples actually decoded.
-
Justin Ruggles authored
-
Justin Ruggles authored
This stops decoding before overreads instead of after.
-
Justin Ruggles authored
-
Justin Ruggles authored
the decoder can handle multiple frames in a packet
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-