From 97cbb4793fa7352ab92fc1fa85b5afebc7cb1ea5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Mon, 8 Feb 2010 22:10:00 +0100 Subject: [PATCH] Fix wrong size given to memset (found by coccinelle static analyzer). --- modules/audio_output/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/audio_output/file.c b/modules/audio_output/file.c index d2641ecde7..3bee0ebd71 100644 --- a/modules/audio_output/file.c +++ b/modules/audio_output/file.c @@ -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 ) { -- 2.39.2