summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2007-12-30 22:58:20 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2007-12-30 22:58:20 +0000
commit12eaa3b7608fa1928c0dd7008ad3a546ac5b946e (patch)
tree0989d54f2b0d3a396df69b9db6eeb0ff612a78a0 /libavcodec
parentb35c67e58bcbc35857c21c0f42fc9c18d9ed33e9 (diff)
simplify
Originally committed as revision 11360 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ac3dec.c4
1 files changed, 2 insertions, 2 deletions
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; 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;
}
}