Originally committed as revision 22784 to svn://svn.ffmpeg.org/ffmpeg/trunk
av_log(avctx, AV_LOG_ERROR, "Unsupported number of channels: %d\n", avctx->channels);
return -1;
}
av_log(avctx, AV_LOG_ERROR, "Unsupported number of channels: %d\n", avctx->channels);
return -1;
}
+ if (avctx->profile != FF_PROFILE_UNKNOWN && avctx->profile != FF_PROFILE_AAC_LOW) {
+ av_log(avctx, AV_LOG_ERROR, "Unsupported profile %d\n", avctx->profile);
+ return -1;
+ }
s->samplerate_index = i;
dsputil_init(&s->dsp, avctx);
s->samplerate_index = i;
dsputil_init(&s->dsp, avctx);