Re: [FFmpeg-devel] [PATCH 1/2] lavc/audiotoolboxdec: fix a number of config and timestamp issues

2016-04-01 Thread pon pon
it seems you are correct. i can't playback the ac3 files with afplay and afconvert, though @constant kAudioFormatAC3 is described in CoreAudioType.h and i can playback them with quicktime player(not 7 and without perian). the results are attached. i did some tests. decoding test(gsm_ms_at and

[FFmpeg-devel] [PATCH 1/2] lavc/audiotoolboxdec: fix a number of config and timestamp issues

2016-03-30 Thread Rodger Combs
- ADTS-formatted AAC didn't work - Channel layouts were never exported - Channel mappings were incorrect beyond stereo - Channel counts weren't updated after packets were decoded - Timestamps were exported incorrectly --- libavcodec/audiotoolboxdec.c | 286