[FFmpeg-devel] [PATCH 1/4] avformat/udp: add newline after warning

Marton Balint cus at passwd.hu
Sun Jan 26 00:28:38 EET 2020



On Thu, 16 Jan 2020, mypopy at gmail.com wrote:

> On Thu, Jan 16, 2020 at 8:20 AM Marton Balint <cus at passwd.hu> wrote:
>>
>> Signed-off-by: Marton Balint <cus at passwd.hu>
>> ---
>>  libavformat/udp.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/libavformat/udp.c b/libavformat/udp.c
>> index f4ec148a2f..e42a069b24 100644
>> --- a/libavformat/udp.c
>> +++ b/libavformat/udp.c
>> @@ -861,7 +861,7 @@ static int udp_open(URLContext *h, const char *uri, int flags)
>>          } else {
>>              av_log(h, AV_LOG_DEBUG, "end receive buffer size reported is %d\n", tmp);
>>              if(tmp < s->buffer_size)
>> -                av_log(h, AV_LOG_WARNING, "attempted to set receive buffer to size %d but it only ended up set as %d", s->buffer_size, tmp);
>> +                av_log(h, AV_LOG_WARNING, "attempted to set receive buffer to size %d but it only ended up set as %d\n", s->buffer_size, tmp);
>>          }
>>
>>          /* make the socket non-blocking */
>> --
>> 2.16.4
>>
> LGTM

Thanks applied patches 1-3. Will send a new patch for patch 4.

Regards,
Marton


More information about the ffmpeg-devel mailing list