matroska: overwritten value assignment
authorLuis de Bethencourt <luis.bg@samsung.com>
Tue, 26 May 2015 14:33:37 +0000 (15:33 +0100)
committerLuis de Bethencourt <luis.bg@samsung.com>
Wed, 27 May 2015 15:56:15 +0000 (16:56 +0100)
curpos is set and immediately after, set again. Remove the redundant
assignment.

https://bugzilla.gnome.org/show_bug.cgi?id=749909

gst/matroska/matroska-read-common.c

index 0b8e700..5718086 100644 (file)
@@ -2416,8 +2416,6 @@ gst_matroska_read_common_parse_metadata (GstMatroskaReadCommon * common,
   GList *l;
   guint64 curpos;
 
-  curpos = gst_ebml_read_get_pos (ebml);
-
   /* Make sure we don't parse a tags element twice and
    * post it's tags twice */
   curpos = gst_ebml_read_get_pos (ebml);