avformat/dashdec: reindent code for previous commit
authorSteven Liu <lq@chinaffmpeg.org>
Wed, 5 Sep 2018 06:21:33 +0000 (14:21 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Wed, 5 Sep 2018 06:21:33 +0000 (14:21 +0800)
Signed-off-by: Steven Liu <lq@onvideo.cn>
libavformat/dashdec.c

index 91d4e36..e8c57a5 100644 (file)
@@ -1346,7 +1346,7 @@ static int64_t calc_cur_seg_no(AVFormatContext *s, struct representation *pls)
                 if (c->min_buffer_time) {
                     num = pls->first_seq_no + (((c->publish_time + pls->fragment_duration) - c->suggested_presentation_delay) * pls->fragment_timescale) / pls->fragment_duration - c->min_buffer_time;
                 } else {
-                num = pls->first_seq_no + (((c->publish_time - c->time_shift_buffer_depth + pls->fragment_duration) - c->suggested_presentation_delay) * pls->fragment_timescale) / pls->fragment_duration;
+                    num = pls->first_seq_no + (((c->publish_time - c->time_shift_buffer_depth + pls->fragment_duration) - c->suggested_presentation_delay) * pls->fragment_timescale) / pls->fragment_duration;
                 }
             } else {
                 num = pls->first_seq_no + (((get_current_time_in_sec() - c->availability_start_time) - c->suggested_presentation_delay) * pls->fragment_timescale) / pls->fragment_duration;