summaryrefslogtreecommitdiffstats
path: root/gst/matroska
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-18 18:11:00 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-18 18:51:28 +0200
commit0cb5b42d546538b455ac3bbe90b07e3eb67eb820 (patch)
tree24b178742be806e745b7a3891aa0d63920c364b4 /gst/matroska
parentcdb03bdc2b4548909f3f47eec6dfbbb3b5159411 (diff)
Remove trivial unused variables detected by CLang static analyzer.
Diffstat (limited to 'gst/matroska')
-rw-r--r--gst/matroska/matroska-mux.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c
index ee4b45cd..ad9a9ab0 100644
--- a/gst/matroska/matroska-mux.c
+++ b/gst/matroska/matroska-mux.c
@@ -497,10 +497,8 @@ gst_matroska_mux_reset (GstElement * element)
for (walk = mux->collect->data; walk; walk = g_slist_next (walk)) {
GstMatroskaPad *collect_pad;
- GstPad *thepad;
collect_pad = (GstMatroskaPad *) walk->data;
- thepad = collect_pad->collect.pad;
/* reset collect pad to pristine state */
gst_matroska_pad_reset (collect_pad, FALSE);
@@ -2246,7 +2244,7 @@ gst_matroska_mux_write_data (GstMatroskaMux * mux, GstMatroskaPad * collect_pad)
{
GstEbmlWrite *ebml = mux->ebml_write;
GstBuffer *buf, *hdr;
- guint64 cluster, blockgroup;
+ guint64 blockgroup;
gboolean write_duration;
gint16 relative_timestamp;
gint64 relative_timestamp64;
@@ -2317,7 +2315,6 @@ gst_matroska_mux_write_data (GstMatroskaMux * mux, GstMatroskaPad * collect_pad)
GST_BUFFER_TIMESTAMP (buf) / mux->time_scale);
mux->cluster_time = GST_BUFFER_TIMESTAMP (buf);
}
- cluster = mux->cluster;
/* update duration of this track */
if (GST_BUFFER_DURATION_IS_VALID (buf))