summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch
deleted file mode 100644
index 59addaed43..0000000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 63a838d9ae2be480be8d28d6f51762d288b2a54a Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Tue, 26 Jan 2016 14:47:36 -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/isomp4/qtdemux.c | 1 +
11 gst/rtp/gstrtph261pay.c | 2 +-
12 2 files changed, 2 insertions(+), 1 deletion(-)
13
14diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
15index 77bb73e..1fc60ac 100644
16--- a/gst/isomp4/qtdemux.c
17+++ b/gst/isomp4/qtdemux.c
18@@ -3269,6 +3269,7 @@ qtdemux_parse_cenc_aux_info (GstQTDemux * qtdemux, QtDemuxStream * stream,
19 gst_structure_set (properties, "iv", GST_TYPE_BUFFER, buf, NULL);
20 size = info_sizes[i];
21 if (size > iv_size) {
22+ n_subsamples = 0;
23 if (!gst_byte_reader_get_uint16_be (br, &n_subsamples)
24 || !(n_subsamples > 0)) {
25 gst_structure_free (properties);
26diff --git a/gst/rtp/gstrtph261pay.c b/gst/rtp/gstrtph261pay.c
27index 7cdd323..ebcf80e 100644
28--- a/gst/rtp/gstrtph261pay.c
29+++ b/gst/rtp/gstrtph261pay.c
30@@ -867,7 +867,7 @@ gst_rtp_h261_packetize_and_push (GstRtpH261Pay * pay, GstBuffer * buffer,
31 gst_rtp_buffer_calc_payload_len (GST_RTP_BASE_PAYLOAD_MTU (pay) -
32 GST_RTP_H261_PAYLOAD_HEADER_LEN, 0, 0);
33 guint startpos;
34- gint num_gobs;
35+ gint num_gobs = 0;
36 Gob gobs[MAX_NUM_GOB];
37 Gob *gob;
38 Macroblock last_mb_in_previous_packet = { 0 };
39--
401.9.1
41