Revision 12eaa3b7 libavcodec/ac3dec.c

View differences:

libavcodec/ac3dec.c
577 577
            else
578 578
                end = s->end_freq[ch];
579 579
            for(i=0; i<end; i++) {
580
                if(bap[i] == 0)
580
                if(!bap[i])
581 581
                    coeffs[i] = 0.0f;
582 582
            }
583 583
            if(s->channel_in_cpl[ch]) {
584 584
                bap = s->bap[CPL_CH];
585 585
                for(; i<s->end_freq[CPL_CH]; i++) {
586
                    if(bap[i] == 0)
586
                    if(!bap[i])
587 587
                        coeffs[i] = 0.0f;
588 588
                }
589 589
            }

Also available in: Unified diff