Displaying 1 result from an estimated 1 matches for "b5acb6b".
Did you mean:
95a4b6b
2012 Aug 06
1
[PATCH] Fixed sizeof param in silk_get_TOC. Size for memset was calculated wrong.
---
silk/dec_API.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/silk/dec_API.c b/silk/dec_API.c
index b5acb6b..1c356c7 100644
--- a/silk/dec_API.c
+++ b/silk/dec_API.c
@@ -357,7 +357,7 @@ opus_int silk_get_TOC(
return -1;
}
- silk_memset( Silk_TOC, 0, sizeof( Silk_TOC ) );
+ silk_memset( Silk_TOC, 0, sizeof( silk_TOC_struct ) );
/* For stereo, extract the flags for the mid chan...