]> sjero.net Git - linphone/commitdiff
Fix unused variable with disabled video
authorYann Diorcet <yann.diorcet@belledonne-communications.com>
Tue, 22 May 2012 12:16:03 +0000 (08:16 -0400)
committerYann Diorcet <yann.diorcet@belledonne-communications.com>
Tue, 22 May 2012 12:16:03 +0000 (08:16 -0400)
coreapi/linphonecore.c
mediastreamer2

index 0ca5b7b4a43744141dc80097f7267fcfd7364fec..4073633b9b4d87dcb9e47c8c49ef898280dab27c 100644 (file)
@@ -773,8 +773,9 @@ static void video_config_read(LinphoneCore *lc){
        int capture, display, self_view;
 #endif
        const char *str;        
+#ifdef VIDEO_ENABLED   
        LinphoneVideoPolicy vpol;
-
+#endif
        build_video_devices_table(lc);
 
        str=lp_config_get_string(lc->config,"video","device",NULL);
index 14187df4b75733457792b9b1f1dab6cbf852b45b..df295558fd536483b0ac16d8bfde76cc8dad1c9a 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 14187df4b75733457792b9b1f1dab6cbf852b45b
+Subproject commit df295558fd536483b0ac16d8bfde76cc8dad1c9a