summaryrefslogtreecommitdiffstats
path: root/gst/apetag
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2006-03-21 14:53:36 +0000
committerEdward Hervey <bilboed@bilboed.com>2006-03-21 14:53:36 +0000
commit0186335dd2c27f77180920d010fa4de1eafc73fa (patch)
tree5df0469659677c8d027413bf1f6aaad0a2b3e659 /gst/apetag
parent0465903a85e3865eb064a79d19d1984b4e5da23f (diff)
gst/: gcc 4.1 unreferenced pointer fixes.
Original commit message from CVS: * gst/apetag/gsttagdemux.c: (gst_tag_demux_reset): * gst/id3demux/gstid3demux.c: (gst_id3demux_reset): * gst/wavparse/gstwavparse.c: (gst_wavparse_create_sourcepad), (gst_wavparse_stream_headers), (gst_wavparse_send_event), (gst_wavparse_change_state): gcc 4.1 unreferenced pointer fixes.
Diffstat (limited to 'gst/apetag')
-rw-r--r--gst/apetag/gsttagdemux.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gst/apetag/gsttagdemux.c b/gst/apetag/gsttagdemux.c
index b5d9cc32..2c42b599 100644
--- a/gst/apetag/gsttagdemux.c
+++ b/gst/apetag/gsttagdemux.c
@@ -214,14 +214,17 @@ gst_tag_demux_class_init (gpointer klass, gpointer d)
static void
gst_tag_demux_reset (GstTagDemux * tagdemux)
{
+ GstBuffer **buffer_p = &tagdemux->priv->collect;
+ GstCaps **caps_p = &tagdemux->priv->src_caps;
+
tagdemux->priv->strip_start = 0;
tagdemux->priv->strip_end = 0;
tagdemux->priv->upstream_size = -1;
tagdemux->priv->state = GST_TAG_DEMUX_READ_START_TAG;
tagdemux->priv->send_tag_event = FALSE;
- gst_buffer_replace (&(tagdemux->priv->collect), NULL);
- gst_caps_replace (&(tagdemux->priv->src_caps), NULL);
+ gst_buffer_replace (buffer_p, NULL);
+ gst_caps_replace (caps_p, NULL);
gst_tag_demux_remove_srcpad (tagdemux);