opensl: remove unnecessary memset
This commit is contained in:
parent
7f3326d41c
commit
f2b4709cbd
@ -236,7 +236,6 @@ OPENSL_STREAM *android_OpenRecDevice(char *name, int sr, int inchannels,
|
||||
p = (OPENSL_STREAM *) calloc(sizeof(OPENSL_STREAM),1);
|
||||
if (!p)
|
||||
return NULL;
|
||||
memset(p, 0, sizeof(OPENSL_STREAM));
|
||||
|
||||
p->inchannels = inchannels;
|
||||
p->sr = sr;
|
||||
|
Loading…
Reference in New Issue
Block a user