FS-7236: fix code before declaration

This commit is contained in:
Michael Jerris 2015-02-05 12:45:14 -05:00
parent 27c8622eab
commit 9e15c4e5b5

View File

@ -8958,9 +8958,10 @@ SWITCH_STANDARD_APP(conference_auto_function)
static int setup_media(conference_member_t *member, conference_obj_t *conference)
{
switch_codec_implementation_t read_impl = { 0 };
switch_mutex_lock(member->audio_out_mutex);
switch_codec_implementation_t read_impl = { 0 };
switch_core_session_get_read_impl(member->session, &read_impl);
if (switch_core_codec_ready(&member->read_codec)) {