diff options
Diffstat (limited to 'channels/chan_features.c')
-rw-r--r-- | channels/chan_features.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/chan_features.c b/channels/chan_features.c index 7eef2e990..5f6ff2ca6 100644 --- a/channels/chan_features.c +++ b/channels/chan_features.c @@ -241,12 +241,11 @@ static int features_answer(struct ast_channel *ast) static struct ast_frame *features_read(struct ast_channel *ast) { - static struct ast_frame null_frame = { AST_FRAME_NULL, }; struct feature_pvt *p = ast->tech_pvt; struct ast_frame *f; int x; - f = &null_frame; + f = &ast_null_frame; ast_mutex_lock(&p->lock); x = indexof(p, ast, 0); if (!x && p->subchan) { |