[FFmpeg-devel] [PATCH 1/3] avformat/rtsp: fix misleading indentation

Marvin Scholz epirat07 at gmail.com
Thu Jul 10 13:51:10 EEST 2025



On 8 Jul 2025, at 17:09, Marvin Scholz wrote:

> ---
>  libavformat/rtsp.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
> index 8d360b375f..6201f09136 100644
> --- a/libavformat/rtsp.c
> +++ b/libavformat/rtsp.c
> @@ -602,8 +602,8 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,
>                  if (proto[0] == '\0') {
>                      /* relative control URL */
>                      if (rtsp_st->control_url[strlen(rtsp_st->control_url)-1]!='/')
> -                    av_strlcat(rtsp_st->control_url, "/",
> -                               sizeof(rtsp_st->control_url));
> +                        av_strlcat(rtsp_st->control_url, "/",
> +                                   sizeof(rtsp_st->control_url));
>                      av_strlcat(rtsp_st->control_url, p,
>                                 sizeof(rtsp_st->control_url));
>                  } else
> -- 
> 2.39.5 (Apple Git-154)

Planning to push this tomorrow, if there are no objections.


More information about the ffmpeg-devel mailing list