fix patch

This commit is contained in:
nucleo 2012-02-20 16:47:48 +02:00
parent a7bfbe3f1d
commit 718487ede0

View File

@ -1,3 +1,15 @@
--- linphone-3.5.1/mediastreamer2/tests/mediastream.c 2012-01-18 13:00:15.000000000 +0200
+++ linphone-3.5.1/mediastreamer2/tests/mediastream.c 2012-02-20 16:45:05.961678898 +0200
@@ -400,7 +400,9 @@
void setup_media_streams(MediastreamDatas* args) {
/*create the rtp session */
+#ifdef VIDEO_ENABLED
MSWebCam *cam=NULL;
+#endif
ortp_init();
if (args->is_verbose) {
--- linphone-3.5.1/mediastreamer2/src/nowebcam.c 2012-01-18 13:00:15.000000000 +0200
+++ linphone-3.5.1/mediastreamer2/src/nowebcam.c 2012-02-19 19:24:12.643525630 +0200
@@ -1875,10 +1875,11 @@