From 5a94bfefd3bf47b293473cabd87d480c12c6f1cf Mon Sep 17 00:00:00 2001 From: William King Date: Wed, 22 Apr 2015 16:06:43 -0700 Subject: [PATCH] Build fix: updated to better support new video changes --- src/mod/applications/mod_avmd/mod_avmd.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/mod/applications/mod_avmd/mod_avmd.c b/src/mod/applications/mod_avmd/mod_avmd.c index 6d03322c68..610ed1caaf 100644 --- a/src/mod/applications/mod_avmd/mod_avmd.c +++ b/src/mod/applications/mod_avmd/mod_avmd.c @@ -188,14 +188,6 @@ static switch_bool_t avmd_callback(switch_media_bug_t * bug, void *user_data, sw /* avmd_session->vmd_codec.channels = read_codec->implementation->number_of_channels; */ break; - case SWITCH_ABC_TYPE_READ_PING: - case SWITCH_ABC_TYPE_CLOSE: - case SWITCH_ABC_TYPE_READ: - case SWITCH_ABC_TYPE_WRITE: - case SWITCH_ABC_TYPE_TAP_NATIVE_READ: - case SWITCH_ABC_TYPE_TAP_NATIVE_WRITE: - break; - case SWITCH_ABC_TYPE_READ_REPLACE: frame = switch_core_media_bug_get_read_replace_frame(bug); avmd_process(avmd_session, frame); @@ -203,6 +195,9 @@ static switch_bool_t avmd_callback(switch_media_bug_t * bug, void *user_data, sw case SWITCH_ABC_TYPE_WRITE_REPLACE: break; + + default: + break; } return SWITCH_TRUE;