From 11883c02e09164bd3c809d50ce8a18a95133b682 Mon Sep 17 00:00:00 2001 From: Seven Du Date: Fri, 3 Mar 2017 09:00:12 +0800 Subject: [PATCH] FS-10050 fix seg --- src/mod/applications/mod_video_filter/mod_video_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_video_filter/mod_video_filter.c b/src/mod/applications/mod_video_filter/mod_video_filter.c index 9b860347f9..204a36b572 100644 --- a/src/mod/applications/mod_video_filter/mod_video_filter.c +++ b/src/mod/applications/mod_video_filter/mod_video_filter.c @@ -440,8 +440,8 @@ SWITCH_STANDARD_APP(chromakey_start_function) context = (chromakey_context_t *) switch_core_session_alloc(session, sizeof(*context)); switch_assert(context != NULL); memset(context, 0, sizeof(*context)); - init_context(context); context->session = session; + init_context(context); if (data && (lbuf = switch_core_session_strdup(session, data)) && (argc = switch_separate_string(lbuf, ' ', argv, (sizeof(argv) / sizeof(argv[0]))))) {