diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-06-20 00:04:00 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-06-22 18:43:11 +0200 |
commit | f83896abda1e78ebbbda0f184b682b4fabadc682 (patch) | |
tree | b79e6df7f3a5fb57af7cead0650cf816c9bc945b /libavcodec | |
parent | 8d695dc411c1ae28477f107d6f7bf2db59af95df (diff) | |
download | ffmpeg-f83896abda1e78ebbbda0f184b682b4fabadc682.tar.gz |
ape: Replace memset(0) by zero initialization
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/apedec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 6329295c9a..d7596195b9 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -935,10 +935,8 @@ static void long_filter_ehigh_3830(int32_t *buffer, int length) { int i, j; int32_t dotprod, sign; - int32_t coeffs[8], delay[8]; + int32_t coeffs[8] = { 0 }, delay[8] = { 0 }; - memset(coeffs, 0, sizeof(coeffs)); - memset(delay, 0, sizeof(delay)); for (i = 0; i < length; i++) { dotprod = 0; sign = APESIGN(buffer[i]); |