diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 55794a6ff5..e18d395649 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -577,13 +577,13 @@ static void remove_dithering(AC3DecodeContext *s) { else end = s->end_freq[ch]; for(i=0; ichannel_in_cpl[ch]) { bap = s->bap[CPL_CH]; for(; iend_freq[CPL_CH]; i++) { - if(bap[i] == 0) + if(!bap[i]) coeffs[i] = 0.0f; } }