[FFmpeg-devel] [PATCH 3/3] avformat/dashdec: format open_demux_for_component()

Steven Liu lingjiujianke at gmail.com
Sat Oct 12 04:22:21 EEST 2024


Marth64 <marth64 at proxyid.net> 于2024年10月11日周五 15:07写道:
>
> Signed-off-by: Marth64 <marth64 at proxyid.net>
> ---
>  libavformat/dashdec.c | 5 ++---
>  1 file 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)
> --
> 2.34.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


lgtm
Thanks
Steven


More information about the ffmpeg-devel mailing list