aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMarth64 <marth64@proxyid.net>2024-10-11 02:06:37 -0500
committerSteven Liu <lq@chinaffmpeg.org>2024-10-13 23:03:21 +0800
commit95bb47de7dc564ad8a36d6c0770400815a9b39c2 (patch)
treed2564b7e4687657696f54bbc931f8b9bfb319223 /libavformat
parent7acc2ebd5d9e09198ea235870f8e6a9a5de667f8 (diff)
downloadffmpeg-95bb47de7dc564ad8a36d6c0770400815a9b39c2.tar.gz
avformat/dashdec: format open_demux_for_component()
Signed-off-by: Marth64 <marth64@proxyid.net> Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/dashdec.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index cd1b3da3a2..a1d274f2f0 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -1932,11 +1932,10 @@ static int open_demux_for_component(AVFormatContext *s, struct representation *p
int i;
pls->parent = s;
- pls->cur_seq_no = calc_cur_seg_no(s, pls);
+ pls->cur_seq_no = calc_cur_seg_no(s, pls);
- if (!pls->last_seq_no) {
+ if (!pls->last_seq_no)
pls->last_seq_no = calc_max_seg_no(pls, s->priv_data);
- }
ret = reopen_demux_for_component(s, pls);
if (ret < 0)