From c588d568f14f786d137c8eb02b419b14a22a3c7c Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 20 Jan 2012 16:58:28 +0100 Subject: [PATCH] matroska-demux: remove redundant variable --- gst/matroska/matroska-demux.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index e80febc..c30e0d0 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -1721,7 +1721,6 @@ gst_matroska_demux_search_pos (GstMatroskaDemux * demux, GstClockTime time) gint64 opos, newpos, startpos = 0, current_offset; gint64 prev_cluster_offset = -1, current_cluster_offset, cluster_offset; const guint chunk = 64 * 1024; - GstBuffer *buf = NULL; GstFlowReturn ret; guint64 length; guint32 id; @@ -1886,8 +1885,6 @@ retry: ", pos %" G_GUINT64_FORMAT, GST_TIME_ARGS (entry->time), entry->pos); exit: - if (buf) - gst_buffer_unref (buf); /* restore some state */ demux->cluster_offset = current_cluster_offset; -- 2.7.4