fix crash when linphone_core_get_video_device() is NULL

1 job for fix/crash_and_bugs
in 4 minutes and 1 second and was queued for 1 second