mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-14 22:22:59 +02:00
avformat/dashdec: format open_demux_for_component()
Signed-off-by: Marth64 <marth64@proxyid.net> Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
parent
7acc2ebd5d
commit
95bb47de7d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user