diff --git a/apps/app_mp3.c b/apps/app_mp3.c index b2163070a1..f8e42a12c7 100644 --- a/apps/app_mp3.c +++ b/apps/app_mp3.c @@ -145,8 +145,10 @@ static int mp3_exec(struct ast_channel *chan, const char *data) struct ast_frame f; char offset[AST_FRIENDLY_OFFSET]; short frdata[160]; - } myf; - + } myf = { + .f = { 0, }, + }; + if (ast_strlen_zero(data)) { ast_log(LOG_WARNING, "MP3 Playback requires an argument (filename)\n"); return -1;