Commit abf9990e authored by Scott Wheeler Wheeler's avatar Scott Wheeler Wheeler

pre-C99 fixes

Original commit message from CVS:
pre-C99 fixes
parent fbd38aad
......@@ -392,6 +392,7 @@ theora_dec_src_event (GstPad * pad, GstEvent * event)
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_SEEK:{
guint64 value;
GstEvent *real_seek;
/* we have to ask our peer to seek to time here as we know
* nothing about how to generate a granulepos from the src
......@@ -406,7 +407,7 @@ theora_dec_src_event (GstPad * pad, GstEvent * event)
goto error;
/* then seek with time on the peer */
GstEvent *real_seek = gst_event_new_seek (
real_seek = gst_event_new_seek (
(GST_EVENT_SEEK_TYPE (event) & ~GST_SEEK_FORMAT_MASK) |
format, value);
......
......@@ -103,6 +103,9 @@ static void
vorbis_parse_set_header_on_caps (GstVorbisParse * parse, GstCaps * caps)
{
GstBuffer *buf1, *buf2, *buf3;
GstStructure *structure;
GValue list = { 0 };
GValue value = { 0 };
g_assert (parse);
g_assert (parse->streamheader);
......@@ -115,9 +118,7 @@ vorbis_parse_set_header_on_caps (GstVorbisParse * parse, GstCaps * caps)
buf3 = parse->streamheader->next->next->data;
g_assert (buf3);
GstStructure *structure = gst_caps_get_structure (caps, 0);
GValue list = { 0 };
GValue value = { 0 };
structure = gst_caps_get_structure (caps, 0);
/* mark buffers */
GST_BUFFER_FLAG_SET (buf1, GST_BUFFER_IN_CAPS);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment