diff options
author | Edward Hervey <edward.hervey@collabora.co.uk> | 2012-06-08 15:12:30 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-06-19 10:49:26 +0100 |
commit | 94c68115ef61c5a0ae6deb6af60270baee72583e (patch) | |
tree | 14539830305fd2b3863b1a1da5b7d4db5e7336bc /gst/mpegtsdemux/gstmpegdesc.h | |
parent | a3fc64d153aef795941692d348608acbb0212ea2 (diff) | |
download | gstreamer-plugins-bad-94c68115ef61c5a0ae6deb6af60270baee72583e.tar.gz |
mpegdesc: Don't allocate/free GstMPEGDescriptor
Just use static variables
Diffstat (limited to 'gst/mpegtsdemux/gstmpegdesc.h')
-rw-r--r-- | gst/mpegtsdemux/gstmpegdesc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/mpegtsdemux/gstmpegdesc.h b/gst/mpegtsdemux/gstmpegdesc.h index fb1baa1df..d773f81e9 100644 --- a/gst/mpegtsdemux/gstmpegdesc.h +++ b/gst/mpegtsdemux/gstmpegdesc.h @@ -349,8 +349,7 @@ typedef struct } GstMPEGDescriptor; void gst_mpegtsdesc_init_debug (void); -GstMPEGDescriptor *gst_mpeg_descriptor_parse (guint8 * data, guint size); -void gst_mpeg_descriptor_free (GstMPEGDescriptor * desc); +gboolean gst_mpeg_descriptor_parse (GstMPEGDescriptor *result, guint8 * data, guint size); guint gst_mpeg_descriptor_n_desc (GstMPEGDescriptor * desc); guint8 *gst_mpeg_descriptor_find (GstMPEGDescriptor * desc, gint tag); |