qtdemux: free seqh after calling qtdemux_parse_svq3_stsd_data()

The seqh buffer allocated in qtdemux_parse_svq3_stsd_data() needs to
be freed by the caller after use.

https://bugzilla.gnome.org/show_bug.cgi?id=777157

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
This commit is contained in:
Andre McCurdy 2017-01-11 17:53:32 -08:00 committed by Sebastian Dröge
parent 4a279f4499
commit 29433495d6

View file

@ -10375,6 +10375,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
* than its own fourcc */
gst_caps_set_simple (stream->caps, "seqh", GST_TYPE_BUFFER, seqh,
NULL);
gst_buffer_unref (seqh);
}
GST_DEBUG_OBJECT (qtdemux, "found codec_data in stsd");