ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | 
Tue Sep 20 22:22:27 2022 +0200| [8306074dc64e7b288d462c9252d6ac2e92710eaf] | 
committer: Andreas Rheinhardt

avformat/dashdec: Reindent after the previous commit

Reviewed-by: Steven Liu <lingjiujia...@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8306074dc64e7b288d462c9252d6ac2e92710eaf
---

 libavformat/dashdec.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index 2ca91bea8b..29d4680c68 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -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");

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to