changeset 10551:a0dd118e82ae libavcodec

10l: Fix inverted if-condition from r20448. Fixes issue 1562.
author alexc
date Sat, 21 Nov 2009 20:56:46 +0000
parents eb415f52f9f9
children e2d17f7f9408
files aac.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/aac.c	Sat Nov 21 09:58:15 2009 +0000
+++ b/aac.c	Sat Nov 21 20:56:46 2009 +0000
@@ -1762,7 +1762,7 @@
             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