Commit 68526dbc authored by Michael Niedermayer's avatar Michael Niedermayer

aacdec: reduce difference to alexs version of aacdec.c

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 12327237
...@@ -2451,13 +2451,15 @@ static int aac_decode_frame_int(AVCodecContext *avctx, void *data, ...@@ -2451,13 +2451,15 @@ static int aac_decode_frame_int(AVCodecContext *avctx, void *data,
break; break;
} }
if (pce_found) { if (pce_found) {
av_log(avctx, AV_LOG_INFO, av_log(avctx, AV_LOG_ERROR,
"Evaluating a further program_config_element.\n"); "Not evaluating a further program_config_element as this construct is dubious at best.\n");
pop_output_configuration(ac);
} else {
err = output_configure(ac, layout_map, tags, 0, OC_TRIAL_PCE);
if (!err)
ac->oc[1].m4ac.chan_config = 0;
pce_found = 1;
} }
err = output_configure(ac, layout_map, tags, 0, OC_TRIAL_PCE);
if (!err)
ac->oc[1].m4ac.chan_config = 0;
pce_found = 1;
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment