- 26 Oct, 2011 28 commits
-
-
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.
-
Justin Ruggles authored
The bits are not wasted, they are additional low bits that are added to the 16-bit decompressed samples to increase the output sample depth.
-
Justin Ruggles authored
-
Justin Ruggles authored
Also rearranges some functions for easier cleanup on failure.
-
Justin Ruggles authored
reduces memory usage when the stream has fewer than MAX_CHANNELS
-
Justin Ruggles authored
check frame header channel count against header/container channel count.
-
Justin Ruggles authored
It is already done when using it to set sample_fmt.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Janne Grunau authored
Otherwise the delay expressed in has_b_frames increases with every avcodec_close/avcodec_open. Fixes fate-ea-dct with more than 1 thread.
-
Daniel Kang authored
Add whitespace. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
- 25 Oct, 2011 12 commits
-
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
It is broken because an AVCodecContext can be opened/closed multiple times, and sample_rate is getting divided by 2 each time that happens. This removes the only use of lowres for audio.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
using a floating-point calculation is not necessary.
-
Justin Ruggles authored
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.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
TTA does not support float at all, and format 2 is encrypted TTA.
-
Justin Ruggles authored
-