[FFmpeg-user] Problems configuring AAC decoder.

James Darnley james.darnley at gmail.com
Sun Apr 6 13:49:13 CEST 2014


On 2014-04-06 07:15, Brant Merryman wrote:
> UCHAR asc[2];
> memcpy(&audio_specific, &asc, sizeof(asc));
> 
> UCHAR a_s_conf[] = { asc[0], asc[1] };
> UCHAR * conf[] = { a_s_conf };
> UINT conf_len = sizeof(a_s_conf);                    
> AAC_DECODER_ERROR dec_err = aacDecoder_ConfigRaw(m_AAC_decoder, conf, &conf_len );
> 
> At this point, dec_err is AAC_DEC_UNSUPPORTED_FORMAT.
> 
> What am I doing wrong? Is it the way that I am formatting the Audio Specific Config - or the way that I'm feeding it into the call?

This doesn't look like any of FFmpeg's API, certainly not the public one
anyway.  What exactly are you doing?  What/whose code is this?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 683 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140406/095e4e42/attachment.asc>


More information about the ffmpeg-user mailing list