Mercurial > libavcodec.hg
changeset 6095:77626e4e0077 libavcodec
simplify
author | jbr |
---|---|
date | Sun, 30 Dec 2007 22:58:20 +0000 |
parents | 07fc769bf4e2 |
children | 89140b93ae09 |
files | ac3dec.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ac3dec.c Sun Dec 30 22:28:17 2007 +0000 +++ b/ac3dec.c Sun Dec 30 22:58:20 2007 +0000 @@ -577,13 +577,13 @@ else end = s->end_freq[ch]; for(i=0; i<end; i++) { - if(bap[i] == 0) + if(!bap[i]) coeffs[i] = 0.0f; } if(s->channel_in_cpl[ch]) { bap = s->bap[CPL_CH]; for(; i<s->end_freq[CPL_CH]; i++) { - if(bap[i] == 0) + if(!bap[i]) coeffs[i] = 0.0f; } }