mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
simplify
Originally committed as revision 11360 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b35c67e58b
commit
12eaa3b760
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user