ffmpeg: Do not print "SDP:" on top of sdp files.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Sun, 26 Jan 2020 20:47:26 +0000 (21:47 +0100)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Mon, 27 Jan 2020 21:45:06 +0000 (22:45 +0100)
Fixes ticket #7068.

fftools/ffmpeg.c

index 6bcd7b9..b0bffe0 100644 (file)
@@ -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);
         }