diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-11-23 19:01:04 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-11-23 19:01:04 +0200 |
commit | 8d8661f1f847a22f51fd3175bd05f5a6bf650637 (patch) | |
tree | bba7a189d10b4ff8e168feb7399b1217e6dc9ca5 /ext/dash | |
parent | 95ed2cf6873adfca74ffdf3fa9c506daccd3c23f (diff) | |
download | gstreamer-plugins-bad-8d8661f1f847a22f51fd3175bd05f5a6bf650637.tar.gz |
mpdparser: Don't set variable just to overwrite it again later
We set it to TRUE here, but later we set it to TRUE again anyway if the
parsing actually succeeded at this point. Let's keep the second one.
CID 1374360.
Diffstat (limited to 'ext/dash')
-rw-r--r-- | ext/dash/gstmpdparser.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index 8c3240236..ff303e9b6 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -1630,7 +1630,6 @@ gst_mpdparser_parse_mult_seg_base_type_ext (GstMultSegmentBaseType ** pointer, /* parse frees the segmenttimeline if any */ gst_mpdparser_parse_segment_timeline_node (&mult_seg_base_type->SegmentTimeline, cur_node); - has_timeline = TRUE; } else if (xmlStrcmp (cur_node->name, (xmlChar *) "BitstreamSwitching") == 0) { /* parse frees the old url before setting the new one */ |