mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
matroska: Remove unused but set variables
GCC 4.6.x spits warnings about such variable usage.
This commit is contained in:
parent
101087a23a
commit
d596c2e926
2 changed files with 1 additions and 11 deletions
|
@ -1070,7 +1070,6 @@ gst_matroska_decode_content_encodings (GArray * encodings)
|
|||
for (i = 0; i < encodings->len; i++) {
|
||||
GstMatroskaTrackEncoding *enc =
|
||||
&g_array_index (encodings, GstMatroskaTrackEncoding, i);
|
||||
GstMatroskaTrackEncoding *enc2;
|
||||
guint8 *data = NULL;
|
||||
guint size;
|
||||
|
||||
|
@ -1085,8 +1084,6 @@ gst_matroska_decode_content_encodings (GArray * encodings)
|
|||
if (i + 1 >= encodings->len)
|
||||
return GST_FLOW_ERROR;
|
||||
|
||||
enc2 = &g_array_index (encodings, GstMatroskaTrackEncoding, i + 1);
|
||||
|
||||
if (enc->comp_settings_length == 0)
|
||||
continue;
|
||||
|
||||
|
|
|
@ -960,7 +960,6 @@ gst_matroska_decode_content_encodings (GArray * encodings)
|
|||
for (i = 0; i < encodings->len; i++) {
|
||||
GstMatroskaTrackEncoding *enc =
|
||||
&g_array_index (encodings, GstMatroskaTrackEncoding, i);
|
||||
GstMatroskaTrackEncoding *enc2;
|
||||
guint8 *data = NULL;
|
||||
guint size;
|
||||
|
||||
|
@ -975,8 +974,6 @@ gst_matroska_decode_content_encodings (GArray * encodings)
|
|||
if (i + 1 >= encodings->len)
|
||||
return GST_FLOW_ERROR;
|
||||
|
||||
enc2 = &g_array_index (encodings, GstMatroskaTrackEncoding, i + 1);
|
||||
|
||||
if (enc->comp_settings_length == 0)
|
||||
continue;
|
||||
|
||||
|
@ -3462,9 +3459,6 @@ gst_matroska_parse_parse_blockgroup_or_simpleblock (GstMatroskaParse * parse,
|
|||
gint64 time = 0;
|
||||
gint flags = 0;
|
||||
gint64 referenceblock = 0;
|
||||
gint64 offset;
|
||||
|
||||
offset = gst_ebml_read_get_offset (ebml);
|
||||
|
||||
while (ret == GST_FLOW_OK && gst_ebml_read_has_remaining (ebml, 1, TRUE)) {
|
||||
if (!is_simpleblock) {
|
||||
|
@ -4070,11 +4064,10 @@ gst_matroska_parse_parse_contents_seekentry (GstMatroskaParse * parse,
|
|||
case GST_MATROSKA_ID_ATTACHMENTS:
|
||||
case GST_MATROSKA_ID_CHAPTERS:
|
||||
{
|
||||
guint64 before_pos, length;
|
||||
guint64 length;
|
||||
|
||||
/* remember */
|
||||
length = gst_matroska_parse_get_length (parse);
|
||||
before_pos = parse->offset;
|
||||
|
||||
if (length == (guint64) - 1) {
|
||||
GST_DEBUG_OBJECT (parse, "no upstream length, skipping SeakHead entry");
|
||||
|
|
Loading…
Reference in a new issue