diff options
Diffstat (limited to 'meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch')
-rw-r--r-- | meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch index 0a986ae5d8..5b84af2c32 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From d04aa6866cbea57c4a81b033cd60586a9436ac6b Mon Sep 17 00:00:00 2001 | 1 | From f7a4b79b3323534460a63b3e6c58ebaf06adf207 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 14 Jul 2017 13:20:05 -0700 | 3 | Date: Fri, 14 Jul 2017 13:20:05 -0700 |
4 | Subject: [PATCH 3/3] v4l2-ctl: Do not use getsubopt | 4 | Subject: [PATCH] v4l2-ctl: Do not use getsubopt |
5 | 5 | ||
6 | POSIX says that behavior when subopts list is empty is undefined. | 6 | POSIX says that behavior when subopts list is empty is undefined. |
7 | musl libs will set value to NULL which leads to crash. | 7 | musl libs will set value to NULL which leads to crash. |
@@ -9,6 +9,7 @@ musl libs will set value to NULL which leads to crash. | |||
9 | Taken from AlpineLinux | 9 | Taken from AlpineLinux |
10 | 10 | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
12 | |||
12 | --- | 13 | --- |
13 | utils/v4l2-ctl/v4l2-ctl-common.cpp | 19 ++++++++++--------- | 14 | utils/v4l2-ctl/v4l2-ctl-common.cpp | 19 ++++++++++--------- |
14 | 1 file changed, 10 insertions(+), 9 deletions(-) | 15 | 1 file changed, 10 insertions(+), 9 deletions(-) |
@@ -44,6 +45,3 @@ index 3ea6cd3..291fb3e 100644 | |||
44 | } | 45 | } |
45 | 46 | ||
46 | void common_cmd(int ch, char *optarg) | 47 | void common_cmd(int ch, char *optarg) |
47 | -- | ||
48 | 2.13.3 | ||
49 | |||