summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2009-11-21 20:56:46 +0000
committerAlex Converse <alex.converse@gmail.com>2009-11-21 20:56:46 +0000
commit4e878a1898c05dca6a14cecc486673fdc775b94d (patch)
tree8b77866f794d6ef00c938bc2affbd4ecd674dce9 /libavcodec
parentce34ff6b4598931c30591c0eb532b1608dfdce3d (diff)
10l: Fix inverted if-condition from r20448. Fixes issue 1562.
Originally committed as revision 20570 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/aac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aac.c b/libavcodec/aac.c
index e8c2f65f9b..5c58f97ce9 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