aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/app_mp3.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/app_mp3.c b/apps/app_mp3.c
index 9d1169772..9a22fe5b8 100644
--- a/apps/app_mp3.c
+++ b/apps/app_mp3.c
@@ -147,8 +147,10 @@ static int mp3_exec(struct ast_channel *chan, void *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;