projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d695dc
)
ape: Replace memset(0) by zero initialization
author
Diego Biurrun
<diego@biurrun.de>
Thu, 19 Jun 2014 22:04:00 +0000
(
00:04
+0200)
committer
Diego Biurrun
<diego@biurrun.de>
Sun, 22 Jun 2014 16:43:11 +0000
(18:43 +0200)
libavcodec/apedec.c
patch
|
blob
|
history
diff --git
a/libavcodec/apedec.c
b/libavcodec/apedec.c
index
6329295
..
d759619
100644
(file)
--- 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]);