summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-01-26 16:23:32 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-30 11:36:59 +0000
commit7003698f29eb033ed02eed2178c6a1afe9c53d3b (patch)
tree41ecb4d84482160a5d34903b21c693dc1b48d252 /meta/recipes-multimedia
parent6e90145ed9423ad37dbbd61c336d835ca7715da9 (diff)
downloadpoky-7003698f29eb033ed02eed2178c6a1afe9c53d3b.tar.gz
gstreamer1.0-plugins-bad: fix compiler warnings with -Os in 1.7.1
(From OE-Core rev: 12c7c6af9d77b2484eaa686e5fe02b5df0334e91) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch28
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb1
2 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch
new file mode 100644
index 0000000000..5ce57714e7
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch
@@ -0,0 +1,28 @@
1From a67781000e82bd9ae3813da29401e8c0c852328a Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Tue, 26 Jan 2016 15:16:01 -0800
4Subject: [PATCH] fix maybe-uninitialized warnings when compiling with -Os
5
6Upstream-Status: Pending
7
8Signed-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
13diff --git a/gst-libs/gst/codecparsers/gstvc1parser.c b/gst-libs/gst/codecparsers/gstvc1parser.c
14index fd16ee0..ddb890c 100644
15--- a/gst-libs/gst/codecparsers/gstvc1parser.c
16+++ b/gst-libs/gst/codecparsers/gstvc1parser.c
17@@ -1729,7 +1729,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--
271.9.1
28
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
index ebf579fad5..99690a3b81 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
@@ -11,6 +11,7 @@ SRC_URI = " \
11 git://anongit.freedesktop.org/gstreamer/gst-plugins-bad;name=base \ 11 git://anongit.freedesktop.org/gstreamer/gst-plugins-bad;name=base \
12 git://anongit.freedesktop.org/gstreamer/common;destsuffix=git/common;name=common \ 12 git://anongit.freedesktop.org/gstreamer/common;destsuffix=git/common;name=common \
13 file://configure-allow-to-disable-libssh2.patch \ 13 file://configure-allow-to-disable-libssh2.patch \
14 file://fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch \
14" 15"
15 16
16PV = "1.7.1+git${SRCPV}" 17PV = "1.7.1+git${SRCPV}"