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

Marvin Scholz epirat07 at gmail.com
Fri Jul 11 17:35:40 EEST 2025



On 10 Jul 2025, at 12:51, Marvin Scholz wrote:

> 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.

Pushed as c425951c0535d939c94edd5bc4065c6e5293348c (and following).


More information about the ffmpeg-devel mailing list