ffmpeg: add newline to avformat_write_header error message
authorMarton Balint <cus@passwd.hu>
Sat, 12 Nov 2016 00:38:25 +0000 (01:38 +0100)
committerMarton Balint <cus@passwd.hu>
Sun, 13 Nov 2016 02:10:08 +0000 (03:10 +0100)
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
ffmpeg.c

index 067ef1d..37f4fec 100644 (file)
--- 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;
     }