[FFmpeg-cvslog] r11360 - trunk/libavcodec/ac3dec.c
jbr
subversion
Sun Dec 30 23:58:20 CET 2007
Author: jbr
Date: Sun Dec 30 23:58:20 2007
New Revision: 11360
Log:
simplify
Modified:
trunk/libavcodec/ac3dec.c
Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c (original)
+++ trunk/libavcodec/ac3dec.c Sun Dec 30 23:58:20 2007
@@ -577,13 +577,13 @@ static void remove_dithering(AC3DecodeCo
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;
}
}
More information about the ffmpeg-cvslog
mailing list