--- linphone/coreapi/linphonecore.old.c 2008-07-13 15:31:48.000000000 +0200 +++ linphone/coreapi/linphonecore.c 2008-07-13 15:32:14.000000000 +0200 @@ -2115,7 +2115,7 @@ void video_config_uninit(LinphoneCore *l { video_config_t *config=&lc->video_conf; const char *vd=linphone_core_get_video_device(lc); - if (strstr(vd,"Static picture")!=NULL){ + if (vd && strstr(vd,"Static picture")!=NULL){ vd=NULL; } lp_config_set_string(lc->config,"video","device",vd);