mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-30 11:22:14 +00:00
avformat/dashdec: Reindent after the previous commit
Reviewed-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
14b3830b33
commit
8306074dc6
@ -961,15 +961,15 @@ static int parse_manifest_representation(AVFormatContext *s, const char *url,
|
||||
int is_last_segment_number = !av_strcasecmp(scheme_id_uri, "http://dashif.org/guidelines/last-segment-number");
|
||||
xmlFree(scheme_id_uri);
|
||||
if (is_last_segment_number) {
|
||||
val = xmlGetProp(adaptionset_supplementalproperty_node,"value");
|
||||
if (!val) {
|
||||
av_log(s, AV_LOG_ERROR, "Missing value attribute in adaptionset_supplementalproperty_node\n");
|
||||
} else {
|
||||
rep->last_seq_no =(int64_t) strtoll(val, NULL, 10) - 1;
|
||||
xmlFree(val);
|
||||
val = xmlGetProp(adaptionset_supplementalproperty_node, "value");
|
||||
if (!val) {
|
||||
av_log(s, AV_LOG_ERROR, "Missing value attribute in adaptionset_supplementalproperty_node\n");
|
||||
} else {
|
||||
rep->last_seq_no = (int64_t)strtoll(val, NULL, 10) - 1;
|
||||
xmlFree(val);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment_timeline_node = find_child_node_by_name(representation_segmenttemplate_node, "SegmentTimeline");
|
||||
|
Loading…
Reference in New Issue
Block a user