]> code.ossystems Code Review - openembedded-core.git/blob
3428790003aed0f4ae632515c9606175cecb1586
[openembedded-core.git] /
1 From 29433495d697e4dcb3bc50ff0e0d866acb949890 Mon Sep 17 00:00:00 2001
2 From: Andre McCurdy <armccurdy@gmail.com>
3 Date: Wed, 11 Jan 2017 17:53:32 -0800
4 Subject: [PATCH] qtdemux: free seqh after calling
5  qtdemux_parse_svq3_stsd_data()
6
7 The seqh buffer allocated in qtdemux_parse_svq3_stsd_data() needs to
8 be freed by the caller after use.
9
10 https://bugzilla.gnome.org/show_bug.cgi?id=777157
11
12 Upstream-Status: Backport
13
14 Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
15 ---
16  gst/isomp4/qtdemux.c | 1 +
17  1 file changed, 1 insertion(+)
18
19 diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
20 index e105809..7a431e0 100644
21 --- a/gst/isomp4/qtdemux.c
22 +++ b/gst/isomp4/qtdemux.c
23 @@ -10375,6 +10375,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
24               * than its own fourcc */
25              gst_caps_set_simple (stream->caps, "seqh", GST_TYPE_BUFFER, seqh,
26                  NULL);
27 +            gst_buffer_unref (seqh);
28            }
29  
30            GST_DEBUG_OBJECT (qtdemux, "found codec_data in stsd");
31 -- 
32 1.9.1
33