diff options
| author | Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> | 2019-12-22 15:22:37 +0000 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-12-22 20:15:05 -0300 |
| commit | 7c5a040fb85512bfbf4db253240cda5617c238c0 (patch) | |
| tree | 24619a3ca0346c291fd815e96910c850a19c5899 /recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch | |
| parent | 12ebeeba3d9cbf00c8614441111d5e1a7a1ea419 (diff) | |
| download | meta-freescale-7c5a040fb85512bfbf4db253240cda5617c238c0.tar.gz | |
gstreamer1.0-plugins-bad: fix recipe and add patches from oe-core
Fix absolute search paths in the recipe, which attemped to use patches
directly from oe-core and keep those patches in this layer.
This would allow ease of tracking (patches could be dropped once version
is upgraded) and resolves the dependency from oe-core layer (no direct
inclusion necessary via env variables which is not present at every
build system setup).
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch')
| -rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch new file mode 100644 index 000000000..73681f100 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From a67781000e82bd9ae3813da29401e8c0c852328a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Andre McCurdy <armccurdy@gmail.com> | ||
| 3 | Date: Tue, 26 Jan 2016 15:16:01 -0800 | ||
| 4 | Subject: [PATCH] fix maybe-uninitialized warnings when compiling with -Os | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | |||
| 8 | Signed-off-by: Andre McCurdy <armccurdy@gmail.com> | ||
| 9 | --- | ||
| 10 | gst-libs/gst/codecparsers/gstvc1parser.c | 2 +- | ||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/gst-libs/gst/codecparsers/gstvc1parser.c b/gst-libs/gst/codecparsers/gstvc1parser.c | ||
| 14 | index fd16ee0..ddb890c 100644 | ||
| 15 | --- a/gst-libs/gst/codecparsers/gstvc1parser.c | ||
| 16 | +++ b/gst-libs/gst/codecparsers/gstvc1parser.c | ||
| 17 | @@ -1730,7 +1730,7 @@ gst_vc1_parse_sequence_layer (const guint8 * data, gsize size, | ||
| 18 | GstVC1SeqLayer * seqlayer) | ||
| 19 | { | ||
| 20 | guint32 tmp; | ||
| 21 | - guint8 tmp8; | ||
| 22 | + guint8 tmp8 = 0; | ||
| 23 | guint8 structA[8] = { 0, }; | ||
| 24 | guint8 structB[12] = { 0, }; | ||
| 25 | GstBitReader br; | ||
| 26 | -- | ||
| 27 | 1.9.1 | ||
| 28 | |||
