mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
removesilence: Fix 'argument to 'sizeof' in 'memset' call is the same expression as the destination' compiler warning
This commit is contained in:
parent
b292b19c59
commit
e34a70902c
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ vad_new (guint64 hysteresis)
|
|||
void
|
||||
vad_reset (VADFilter * vad)
|
||||
{
|
||||
memset (vad, 0, sizeof (vad));
|
||||
memset (vad, 0, sizeof (*vad));
|
||||
vad->cqueue.base.s = vad->vad_buffer;
|
||||
vad->cqueue.tail.a = vad->cqueue.head.a = 0;
|
||||
vad->cqueue.size = VAD_BUFFER_SIZE;
|
||||
|
|
Loading…
Reference in a new issue