jni: Resolve V4L2_CID_AUDIO_MUTE redefinitions
* Give priority to linux/videodev2.h, and define
the value only if not provided by the kernel
Change-Id: I1ac54aa1c38ec069966cfd8a59ab30545261a065
diff --git a/jni/FmConst.h b/jni/FmConst.h
index e37160f..fc858d9 100644
--- a/jni/FmConst.h
+++ b/jni/FmConst.h
@@ -48,7 +48,9 @@
#define V4L2_CTRL_CLASS_USER 0x00980000
#define V4L2_CID_BASE (V4L2_CTRL_CLASS_USER | 0x900)
+#ifndef V4L2_CID_AUDIO_MUTE
#define V4L2_CID_AUDIO_MUTE (V4L2_CID_BASE + 9)
+#endif
const UINT SEARCH_DWELL_TIME = 2;
const UINT SEEK_DWELL_TIME = 0;