]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8006 #resolve [switch_core_video_thread_callback_func_t is not like other callbacks]
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 19 Aug 2015 19:55:26 +0000 (14:55 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 19 Aug 2015 19:58:13 +0000 (14:58 -0500)
src/include/private/switch_core_pvt.h
src/include/switch_types.h

index 66faaf47649ce1b2e5222fe879a7eecbf58b26c5..3522cf02696dd8dc4f03b91d704bb4922cc31d18 100644 (file)
@@ -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;
 };
index 2ee6346726421a16ec8dc337a70e07b88cfec97e..068df98dadf2c0bc747722827087b840ab1e3b5b 100644 (file)
@@ -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);