diff --git a/libavcodec/aac.c b/libavcodec/aac.c index e8c2f65f9bf2a5aa0f2a2a9db17084170400574a..5c58f97ce9f237b02d52db67d65f84d42b16901b 100644 --- a/libavcodec/aac.c +++ b/libavcodec/aac.c @@ -1762,7 +1762,7 @@ static int aac_decode_frame(AVCodecContext *avccontext, void *data, memset(new_che_pos, 0, 4 * MAX_ELEM_ID * sizeof(new_che_pos[0][0])); if ((err = decode_pce(ac, new_che_pos, &gb))) break; - if (ac->output_configured <= OC_TRIAL_PCE) + if (ac->output_configured > OC_TRIAL_PCE) av_log(avccontext, AV_LOG_ERROR, "Not evaluating a further program_config_element as this construct is dubious at best.\n"); else