aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2022-04-21 10:42:09 -0700
committerChristopher Ferris <cferris@google.com>2022-04-22 14:23:13 +0000
commit917f161854c5a4e8e62b88fb778a8f2a943f3423 (patch)
treed63b26e9e2526e59d05754fffbdaaf70bbd3ec58
parent99422461a786a6720886c498e6b86063b27342cb (diff)
downloadbionic-917f161854c5a4e8e62b88fb778a8f2a943f3423.tar.gz
Set VIDEO_MAX_FRAME value back to 64.
This value was changed from 64 to 32, but it really should not have gone down. So fixing back to 64 manually, and then the next kernel header update should remove the comment but leave the value unchanged. Bug: 228783882 Test: Compiles. (cherry picked from commit 880308daa00c0412a2cfc598fc46ecdbbead8ff1) Change-Id: I2d81d7bc76fcaa905dce0abb094d61d02c481a5e
-rw-r--r--libc/kernel/uapi/linux/videodev2.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libc/kernel/uapi/linux/videodev2.h b/libc/kernel/uapi/linux/videodev2.h
index 1cae71188..74bd32891 100644
--- a/libc/kernel/uapi/linux/videodev2.h
+++ b/libc/kernel/uapi/linux/videodev2.h
@@ -24,7 +24,12 @@
#include <linux/types.h>
#include <linux/v4l2-common.h>
#include <linux/v4l2-controls.h>
-#define VIDEO_MAX_FRAME 32
+/* ---------------------------------------------------
+ * This value manually changed due to b/228783882.
+ * Next kernel update should keep this value as is.
+ */
+#define VIDEO_MAX_FRAME 64
+/* --------------------------------------------------- */
#define VIDEO_MAX_PLANES 8
#define v4l2_fourcc(a,b,c,d) ((__u32) (a) | ((__u32) (b) << 8) | ((__u32) (c) << 16) | ((__u32) (d) << 24))
#define v4l2_fourcc_be(a,b,c,d) (v4l2_fourcc(a, b, c, d) | (1U << 31))