| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
configuration is present.
Fixes MP4 files where the first frame is broken.
|
| |
|
| |
|
|
|
|
| |
Most people know the codec as "AAC" and not "Advanced Audio Coding".
|
|
|
|
| |
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
|
| |
'channel_layout' not 'channels' from the stored configuration should go
to AVCodecContext's 'channel_layout'.
|
|
|
|
| |
Move vector_fmul() from DSPContext to AVFloatDSPContext.
|
|
|
|
| |
switching to mono.
|
| |
|
|
|
|
|
|
| |
Save the old output configuration (if it has been used
successfully) when trying a new configuration. If the new configuration
fails to decode, restore the last successful configuration.
|
|
|
|
|
|
|
| |
Also break some long lines, remove codec function placeholder comments
and add spaces in sample/pixel format lists.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
An unpaired SCE preceding a CPE only makes sense for front SCEs
preceding the first CPE.
Split from FFmpeg commit a8d67efa53dae1d14614e3a7bd4e77e4eab066ab
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set the element to channel vector (e2c_vec) size to be the maximum
number of aac channel elements. This makes it slightly larger than it
needs to be because CCEs are never mapped to output channel locations.
Also add a check that all input tags (legal or not) will fit.
Split from FFmpeg commit a8d67efa53dae1d14614e3a7bd4e77e4eab066ab
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
configuration 1 (mono).
[alex.converse@mgail.com]
Move code to get_che()
Update for AAC new channel configuration interface
Only set chan_config if output_configure succeeds.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
|
|
|
| |
set_default_channel_config() and output_configure().
|
| |
|
|
|
|
| |
scalefactor error message.
|
|
|
|
|
|
| |
Based-on-work-by: Ronald S. Bultje <rsbultje@gmail.com>
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
|
| |
|
|
|
|
| |
Signed-off-by: Martin Storsjö <martin@martin.st>
|
| |
|
| |
|
|
|
|
| |
This changes the output order of multichannel PCE based streams.
|
|
|
|
| |
It was only correct when element ids met very specific criteria.
|
| |
|
|
|
|
|
|
|
| |
This is different than a normal get_bits() over read because
decode_audio_specific_config() creates its own GetBitContext.
Fixes Bug 170.
|
|
|
|
| |
Fixes al_sbr_cm_48_5.1.mp4.
|
|
|
|
| |
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
| |
Remove unused function argument.
Return an AVERROR.
Don't zero out ICS on failure.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Pass the correct size in bits to mpeg4audio_get_config and add a flag
to disable parsing of the sync extension when the size is not known.
Latm with AudioMuxVersion 0 does not specify the size of the audio
specific config. Data after the audio specific config can be
misinterpreted as sync extension resulting in random and wrong configs.
|
|
|
|
|
|
| |
Deprecate avcodec_decode_audio3().
Implement audio support in avcodec_default_get_buffer().
Implement the new audio decoder API in all audio decoders.
|
|
|
|
| |
Fixes File1.aac and Bug 80.
|
|
|
|
|
|
|
|
|
|
| |
Locking the decoder against channel config changes in
parse_adts_frame_header() seems to be unnecessary and
streams with channel config changes are reported.
The sample in http://roundup.libav.org/issue999 still works.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
|
|
|
|
| |
This is already checked by avcodec_decode_audio3()
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
use AVCodecContext.err_recognition
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
|
| |
Specifically, ff_mpeg4audio_sample_rates, ff_mpeg4audio_get_config and
ff_copy_pce_data
|
|
|
|
| |
It's used in lavf.
|
|
|
|
|
|
| |
Since nnz can be zero, this is needed to avoid a shift by 32.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
|
|
|
|
|
| |
configured.
Long term it would be nice to support error resilient reconfiguration
but right now setting this every frame does more harm than help.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
| |
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
|
| |
Audio found is not triggered on a CCE because a CCE alone has no output.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
| |
|
| |
|