Commit 97cbb479 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix wrong size given to memset (found by coccinelle static analyzer).

parent 583ea37e
......@@ -221,7 +221,7 @@ static int Open( vlc_object_t * p_this )
/* Write wave header */
WAVEHEADER *wh = &p_aout->output.p_sys->waveh;
memset( wh, 0, sizeof(wh) );
memset( wh, 0, sizeof(*wh) );
switch( p_aout->output.output.i_format )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment