av_log(avctx, AV_LOG_ERROR, "faacDecInit2 failed r:%d   sr:%ld  ch:%d  s:%d\n", r, samplerate, channels, avctx->extradata_size);
av_log(avctx, AV_LOG_ERROR, "faacDecInit2 failed r:%d   sr:%ld  ch:%ld  s:%d\n", r, samplerate, (long)channels, avctx->extradata_size);
static int faac_init_mp4(AVCodecContext *avctx){    FAACContext *s = (FAACContext *) avctx->priv_data;    unsigned long samplerate;    unsigned char channels;    int r = 0;    if (avctx->extradata)	r = s->faacDecInit2(s->faac_handle, (uint8_t*) avctx->extradata,			    avctx->extradata_size,			    &samplerate, &channels);    // else r = s->faacDecInit(s->faac_handle ... );    if (r < 0)	av_log(avctx, AV_LOG_ERROR, "faacDecInit2 failed r:%d   sr:%ld  ch:%d  s:%d\n",		r, samplerate, channels, avctx->extradata_size);    return r;}