- 27 Oct, 2011 7 commits
-
-
Michael Niedermayer authored
Found-by: Jim Radford Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Found-by: Jim Radford Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes Ticket594 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 26 Oct, 2011 33 commits
-
-
Michael Niedermayer authored
* qatar/master: (35 commits) libopencore-amr: check output buffer size before decoding libopencore-amr: remove unneeded buf_size==0 check. libopencore-amr: remove unneeded frame_count field. aac_latm: remove unneeded check for zero-size packet. pcmdec: fix output buffer size check by calculating the actual output size prior to decoding. pcmdec: move codec-specific variable declarations to the corresponding codec blocks. pcmdec: return buf_size instead of src-buf. avcodec: remove the Zork PCM encoder. pcm_zork: use AV_SAMPLE_FMT_U8 instead of shifting all samples by 8. pcmenc: remove unneeded sample_fmt check. pcmdec: move number of channels check to pcm_decode_init() pcmdec: remove unnecessary check for sample_fmt change pcmdec: move DVD PCM bits_per_coded_sample check near to the code that sets the sample size. pcmdec: do not needlessly set *data_size to 0 alacdec: remove unneeded NULL or zero-size packet checks. alacdec: simplify buffer allocation by using FF_ALLOC_OR_GOTO() alacdec: ask for a sample for unsupported sample depths. alacdec: cosmetics: use 'ch' instead of 'chan' to iterate channels alacdec: move some declarations to the top of the function alacdec: always use get_sbits_long() for uncompressed samples ... Conflicts: libavcodec/pcm.c tests/ref/acodec/pcm Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
David Conrad authored
(cherry picked from commit 79ca161498744330ac940ae773dda3f1796ce955) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Found-by & newspelling-by: pasteeater Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
David Conrad authored
-
David Conrad authored
-
Michael Niedermayer authored
Found-by: Tanami, Ohad Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Justin Ruggles authored
-
Justin Ruggles authored
avcodec_decode_audio3() already checks it before sending the packet to the decoder.
-
Justin Ruggles authored
Use AVCodecContext.frame_number instead.
-
Justin Ruggles authored
This is already checked by avcodec_decode_audio3()
-
Justin Ruggles authored
prior to decoding.
-
Justin Ruggles authored
blocks.
-
Justin Ruggles authored
The values will always be the same, so this change eliminates an unneeded variable. It also gets rid of the need to reset src when memcpy() is used.
-
Justin Ruggles authored
The Zork PCM decoder does not decode the 1 sample we have correctly, therefore the encoder based on the decoder is also incorrect. There is no good reason to keep the encoder.
-
Justin Ruggles authored
-
Justin Ruggles authored
It is already checked by avcodec_open2().
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
the sample size.
-
Justin Ruggles authored
-
Justin Ruggles authored
This is already done in avcodec_decode_audio3()
-
Justin Ruggles authored
-
Justin Ruggles authored
Also return AVERROR_PATCHWELCOME.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
They only operate on stereo content, so the extra param is not necessary and also allows for simplifying the code.
-
Justin Ruggles authored
Now they only do stereo interleaving.
-
Justin Ruggles authored
This should also fix decoding of mono 24-bit.
-
Justin Ruggles authored
It is identical for 16-bit and 24-bit, so there is no need to have duplicate code.
-