[FFmpeg-cvslog] ffmpeg: Do not print "SDP:" on top of sdp files.

Carl Eugen Hoyos git at videolan.org
Mon Jan 27 23:47:29 EET 2020


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Sun Jan 26 21:47:26 2020 +0100| [26c7f91e6624b1a46e39fb887b07b77db6cee328] | committer: Carl Eugen Hoyos

ffmpeg: Do not print "SDP:" on top of sdp files.

Fixes ticket #7068.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=26c7f91e6624b1a46e39fb887b07b77db6cee328
---

 fftools/ffmpeg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 6bcd7b94d2..b0bffe0a54 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -2776,7 +2776,7 @@ static void print_sdp(void)
         if (avio_open2(&sdp_pb, sdp_filename, AVIO_FLAG_WRITE, &int_cb, NULL) < 0) {
             av_log(NULL, AV_LOG_ERROR, "Failed to open sdp file '%s'\n", sdp_filename);
         } else {
-            avio_printf(sdp_pb, "SDP:\n%s", sdp);
+            avio_print(sdp_pb, sdp);
             avio_closep(&sdp_pb);
             av_freep(&sdp_filename);
         }



More information about the ffmpeg-cvslog mailing list