Commit b6b59ab1 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

avidemux: fix unused-but-set-variable warning with gcc 4.6

Most likely a leftover from when the index parsing code was rewritten.
parent 063b3d9d
......@@ -2553,7 +2553,6 @@ gst_avi_demux_stream_for_id (GstAviDemux * avi, guint32 id)
static gboolean
gst_avi_demux_parse_index (GstAviDemux * avi, GstBuffer * buf)
guint64 pos_before;
guint8 *data;
guint size;
guint i, num, n;
......@@ -2579,7 +2578,6 @@ gst_avi_demux_parse_index (GstAviDemux * avi, GstBuffer * buf)
GST_INFO_OBJECT (avi, "Parsing index, nr_entries = %6d", num);
index = (gst_riff_index_entry *) data;
pos_before = avi->offset;
/* figure out if the index is 0 based or relative to the MOVI start */
entry.offset = GST_READ_UINT32_LE (&index[0].offset);
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