CID:1294431: make sure not to check uninitialized value
This commit is contained in:
parent
35be8a16e9
commit
6dcff0a79a
|
@ -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_core_session_t *session = mh->session;
|
||||||
switch_channel_t *channel = switch_core_session_get_channel(session);
|
switch_channel_t *channel = switch_core_session_get_channel(session);
|
||||||
switch_status_t status;
|
switch_status_t status;
|
||||||
switch_frame_t *read_frame;
|
switch_frame_t *read_frame = NULL;
|
||||||
switch_media_handle_t *smh;
|
switch_media_handle_t *smh;
|
||||||
uint32_t loops = 0, xloops = 0, vloops = 0;
|
uint32_t loops = 0, xloops = 0, vloops = 0;
|
||||||
switch_frame_t fr = { 0 };
|
switch_frame_t fr = { 0 };
|
||||||
|
|
Loading…
Reference in New Issue