comparison aac.c @ 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 06d6393bbaeb
children 62b3faabb663
comparison
equal deleted inserted replaced
10550:eb415f52f9f9 10551:a0dd118e82ae
1760 case TYPE_PCE: { 1760 case TYPE_PCE: {
1761 enum ChannelPosition new_che_pos[4][MAX_ELEM_ID]; 1761 enum ChannelPosition new_che_pos[4][MAX_ELEM_ID];
1762 memset(new_che_pos, 0, 4 * MAX_ELEM_ID * sizeof(new_che_pos[0][0])); 1762 memset(new_che_pos, 0, 4 * MAX_ELEM_ID * sizeof(new_che_pos[0][0]));
1763 if ((err = decode_pce(ac, new_che_pos, &gb))) 1763 if ((err = decode_pce(ac, new_che_pos, &gb)))
1764 break; 1764 break;
1765 if (ac->output_configured <= OC_TRIAL_PCE) 1765 if (ac->output_configured > OC_TRIAL_PCE)
1766 av_log(avccontext, AV_LOG_ERROR, 1766 av_log(avccontext, AV_LOG_ERROR,
1767 "Not evaluating a further program_config_element as this construct is dubious at best.\n"); 1767 "Not evaluating a further program_config_element as this construct is dubious at best.\n");
1768 else 1768 else
1769 err = output_configure(ac, ac->che_pos, new_che_pos, 0, OC_TRIAL_PCE); 1769 err = output_configure(ac, ac->che_pos, new_che_pos, 0, OC_TRIAL_PCE);
1770 break; 1770 break;