]> git.sesse.net Git - ffmpeg/commitdiff
avformat/rtspdec: add newline in log message
authorAndriy Gelman <andriy.gelman@gmail.com>
Sat, 26 Sep 2020 22:26:29 +0000 (18:26 -0400)
committerAndriy Gelman <andriy.gelman@gmail.com>
Fri, 9 Oct 2020 03:18:18 +0000 (23:18 -0400)
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
libavformat/rtspdec.c

index dfa29913bff0185032846f7855296e0efee89ca8..ef084a8b2b84b0fa7d54d60f6f52a04d5da7a10e 100644 (file)
@@ -291,7 +291,7 @@ static int rtsp_read_setup(AVFormatContext *s, char* host, char *controlurl)
             AVDictionary *opts = NULL;
             av_dict_set_int(&opts, "buffer_size", rt->buffer_size, 0);
             ff_url_join(url, sizeof(url), "rtp", NULL, host, localport, NULL);
-            av_log(s, AV_LOG_TRACE, "Opening: %s", url);
+            av_log(s, AV_LOG_TRACE, "Opening: %s\n", url);
             ret = ffurl_open_whitelist(&rtsp_st->rtp_handle, url, AVIO_FLAG_READ_WRITE,
                                        &s->interrupt_callback, &opts,
                                        s->protocol_whitelist, s->protocol_blacklist, NULL);
@@ -304,7 +304,7 @@ static int rtsp_read_setup(AVFormatContext *s, char* host, char *controlurl)
             return ret;
         }
 
-        av_log(s, AV_LOG_TRACE, "Listening on: %d",
+        av_log(s, AV_LOG_TRACE, "Listening on: %d\n",
                 ff_rtp_get_local_rtp_port(rtsp_st->rtp_handle));
         if ((ret = ff_rtsp_open_transport_ctx(s, rtsp_st))) {
             rtsp_send_reply(s, RTSP_STATUS_TRANSPORT, NULL, request.seq);