mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
matroska-demux: remove redundant variable
This commit is contained in:
parent
9d771c9bed
commit
c588d568f1
1 changed files with 0 additions and 3 deletions
|
@ -1721,7 +1721,6 @@ gst_matroska_demux_search_pos (GstMatroskaDemux * demux, GstClockTime time)
|
||||||
gint64 opos, newpos, startpos = 0, current_offset;
|
gint64 opos, newpos, startpos = 0, current_offset;
|
||||||
gint64 prev_cluster_offset = -1, current_cluster_offset, cluster_offset;
|
gint64 prev_cluster_offset = -1, current_cluster_offset, cluster_offset;
|
||||||
const guint chunk = 64 * 1024;
|
const guint chunk = 64 * 1024;
|
||||||
GstBuffer *buf = NULL;
|
|
||||||
GstFlowReturn ret;
|
GstFlowReturn ret;
|
||||||
guint64 length;
|
guint64 length;
|
||||||
guint32 id;
|
guint32 id;
|
||||||
|
@ -1886,8 +1885,6 @@ retry:
|
||||||
", pos %" G_GUINT64_FORMAT, GST_TIME_ARGS (entry->time), entry->pos);
|
", pos %" G_GUINT64_FORMAT, GST_TIME_ARGS (entry->time), entry->pos);
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
if (buf)
|
|
||||||
gst_buffer_unref (buf);
|
|
||||||
|
|
||||||
/* restore some state */
|
/* restore some state */
|
||||||
demux->cluster_offset = current_cluster_offset;
|
demux->cluster_offset = current_cluster_offset;
|
||||||
|
|
Loading…
Reference in a new issue