[FFmpeg-devel] [PATCH 1/2] ffmpeg: add newline to avformat_write_header error message

Marton Balint cus at passwd.hu
Sat Nov 12 03:23:29 EET 2016


Signed-off-by: Marton Balint <cus at passwd.hu>
---
 ffmpeg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 067ef1d..37f4fec 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2800,7 +2800,7 @@ static int check_init_output_file(OutputFile *of, int file_index)
     if (ret < 0) {
         av_log(NULL, AV_LOG_ERROR,
                "Could not write header for output file #%d "
-               "(incorrect codec parameters ?): %s",
+               "(incorrect codec parameters ?): %s\n",
                file_index, av_err2str(ret));
         return ret;
     }
-- 
2.6.6



More information about the ffmpeg-devel mailing list