mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
avidemux: fix unused-but-set-variable warning with gcc 4.6
Most likely a leftover from when the index parsing code was rewritten.
This commit is contained in:
parent
063b3d9dcd
commit
b6b59ab1c1
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue