summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2016-03-11 12:43:59 +0000
committerLiong Sauw Ming <ming@teluu.com>2016-03-11 12:43:59 +0000
commit6b7a24347cd2d28bc2ad4509f227c35119f40d58 (patch)
tree0a067014e76855815ec9dbeece0fcd2dbb8ae772
parent70231deed2aa68e30657db5434cfdbcd320373c7 (diff)
Re #1907: Fixed build error: undeclared variables PJMEDIA_VID_DEV_MAX_DRIVERS and PJMEDIA_VID_DEV_MAX_DEVS when PJMEDIA_HAS_VIDEO is disabled.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5257 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjmedia/include/pjmedia-videodev/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pjmedia/include/pjmedia-videodev/config.h b/pjmedia/include/pjmedia-videodev/config.h
index fcb0b0c8..f138b21e 100644
--- a/pjmedia/include/pjmedia-videodev/config.h
+++ b/pjmedia/include/pjmedia-videodev/config.h
@@ -52,8 +52,6 @@ PJ_BEGIN_DECL
#endif
-#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0)
-
/**
* This setting controls the maximum number of supported video device drivers.
*
@@ -73,6 +71,8 @@ PJ_BEGIN_DECL
#endif
+#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0)
+
/**
* This setting controls whether OpenGL for iOS should be included.
*