From 135e8d6d93a2f1d86668fa7bde377605763959ab Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 19 Aug 2015 14:55:26 -0500 Subject: [PATCH] FS-8006 #resolve [switch_core_video_thread_callback_func_t is not like other callbacks] --- src/include/private/switch_core_pvt.h | 2 +- src/include/switch_types.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/private/switch_core_pvt.h b/src/include/private/switch_core_pvt.h index 66faaf4764..3522cf0269 100644 --- a/src/include/private/switch_core_pvt.h +++ b/src/include/private/switch_core_pvt.h @@ -187,7 +187,7 @@ struct switch_core_session { switch_media_handle_t *media_handle; uint32_t decoder_errors; - switch_core_video_thread_callback_func_t *video_read_callback; + switch_core_video_thread_callback_func_t video_read_callback; void *video_read_user_data; switch_slin_data_t *sdata; }; diff --git a/src/include/switch_types.h b/src/include/switch_types.h index 2ee6346726..068df98dad 100644 --- a/src/include/switch_types.h +++ b/src/include/switch_types.h @@ -2205,7 +2205,7 @@ typedef struct switch_console_callback_match switch_console_callback_match_t; typedef void (*switch_media_bug_exec_cb_t)(switch_media_bug_t *bug, void *user_data); -typedef switch_status_t (switch_core_video_thread_callback_func_t) (switch_core_session_t *session, switch_frame_t *frame, void *user_data); +typedef switch_status_t (*switch_core_video_thread_callback_func_t) (switch_core_session_t *session, switch_frame_t *frame, void *user_data); typedef void (*switch_cap_callback_t) (const char *var, const char *val, void *user_data); typedef switch_status_t (*switch_console_complete_callback_t) (const char *, const char *, switch_console_callback_match_t **matches); typedef switch_bool_t (*switch_media_bug_callback_t) (switch_media_bug_t *, void *, switch_abc_type_t);