[FFmpeg-cvslog] r20570 - trunk/libavcodec/aac.c

alexc subversion
Sat Nov 21 21:56:47 CET 2009


Author: alexc
Date: Sat Nov 21 21:56:46 2009
New Revision: 20570

Log:
10l: Fix inverted if-condition from r20448. Fixes issue 1562.

Modified:
   trunk/libavcodec/aac.c

Modified: trunk/libavcodec/aac.c
==============================================================================
--- trunk/libavcodec/aac.c	Sat Nov 21 10:58:15 2009	(r20569)
+++ trunk/libavcodec/aac.c	Sat Nov 21 21:56:46 2009	(r20570)
@@ -1762,7 +1762,7 @@ static int aac_decode_frame(AVCodecConte
             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



More information about the ffmpeg-cvslog mailing list