/**
* @file
- * AAC encoder Intensity Stereo
+ * AAC encoder main-type prediction
* @author Rostislav Pehlivanov ( atomnuker gmail com )
*/
IndividualChannelStream *ics = &sce->ics;
const int pmax = FFMIN(ics->max_sfb, ff_aac_pred_sfb_max[s->samplerate_index]);
- if (!ics->predictor_present)
+ if (s->profile != FF_PROFILE_AAC_MAIN ||
+ !ics->predictor_present)
return;
put_bits(&s->pb, 1, !!ics->predictor_reset_group);