CID:1294431: make sure not to check uninitialized value

This commit is contained in:
Michael Jerris 2015-04-22 10:23:00 -05:00
parent 35be8a16e9
commit 6dcff0a79a
1 changed files with 1 additions and 1 deletions

View File

@ -4757,7 +4757,7 @@ static void *SWITCH_THREAD_FUNC video_helper_thread(switch_thread_t *thread, voi
switch_core_session_t *session = mh->session;
switch_channel_t *channel = switch_core_session_get_channel(session);
switch_status_t status;
switch_frame_t *read_frame;
switch_frame_t *read_frame = NULL;
switch_media_handle_t *smh;
uint32_t loops = 0, xloops = 0, vloops = 0;
switch_frame_t fr = { 0 };