blob: 671241c1d694d729719480c9abd262f544e5d0f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
fix crash when compiled with --disable-video
--- coreapi/linphonecore.c.old 2009-04-24 19:20:24.000000000 -0400
+++ coreapi/linphonecore.c 2009-04-24 19:21:10.000000000 -0400
@@ -2108,7 +2108,7 @@
if (olddev!=NULL && olddev!=lc->video_conf.device){
toggle_video_preview(lc,FALSE);/*restart the video local preview*/
}
- if (lc->ready){
+ if (lc->ready && lc->video_conf.device){
vd=ms_web_cam_get_string_id(lc->video_conf.device);
if (vd && strstr(vd,"Static picture")!=NULL){
vd=NULL;
|