diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_mp3.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/app_mp3.c b/apps/app_mp3.c index cf81e73d7..8f91df8df 100644 --- a/apps/app_mp3.c +++ b/apps/app_mp3.c @@ -121,8 +121,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; |