--- libavcodec/binkaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c
index 56b58b57c8..0b6888e3e3 100644
--- a/libavcodec/binkaudio.c
+++ b/libavcodec/binkaudio.c
@@ -264,7 +264,7 @@ static int decode_block(BinkAudioContext *s, float **out,
int use_dct,
j = ch;
for (i = 0; i < s->overlap_len; i++, j += channels)
out[ch + ch_offset][i] = (s->previous[ch + ch_offset][i] *
(count - j) +
- out[ch + ch_offset][i] * j) /
count;
+ out[ch + ch_offset][i] *
j) / count;
}
memcpy(s->previous[ch + ch_offset], &out[ch + ch_offset][s->frame_len
- s->overlap_len],
s->overlap_len * sizeof(*s->previous[ch + ch_offset]));
--
2.35.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
