projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Data-Over-Voice
[lcr.git]
/
ss5_encode.c
diff --git
a/ss5_encode.c
b/ss5_encode.c
index
0b2ab54
..
c119cc8
100644
(file)
--- a/
ss5_encode.c
+++ b/
ss5_encode.c
@@
-88,7
+88,7
@@
unsigned char *ss5_encode(unsigned char *buffer, int len, char digit, int sample
}
if (!ss5_digits[i][0]) {
PERROR("Digit '%c' does not exist.\n", digit);
}
if (!ss5_digits[i][0]) {
PERROR("Digit '%c' does not exist.\n", digit);
- memset(buffer, audio_s16_to_law[0],
sizeof(buffer)
);
+ memset(buffer, audio_s16_to_law[0],
len
);
return buffer;
}
return buffer;
}