opensl: remove unnecessary memset

This commit is contained in:
Bernhard Miklautz 2015-03-25 12:11:22 +01:00
parent 7f3326d41c
commit f2b4709cbd

View File

@ -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;