Browse code

Add missing CRLFs to avisynth error messages. (cherry picked from commit 1faf0d6a7a70cb0bcfbbff0421fb00bb6da658f9)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Carl Eugen Hoyos authored on 2012/06/05 18:13:30
Showing 1 changed files
... ...
@@ -55,7 +55,7 @@ static int avisynth_read_header(AVFormatContext *s)
55 55
   res = AVIFileOpen(&avs->file, s->filename, OF_READ|OF_SHARE_DENY_WRITE, NULL);
56 56
   if (res != S_OK)
57 57
     {
58
-      av_log(s, AV_LOG_ERROR, "AVIFileOpen failed with error %ld", res);
58
+      av_log(s, AV_LOG_ERROR, "AVIFileOpen failed with error %ld\n", res);
59 59
       AVIFileExit();
60 60
       return -1;
61 61
     }
... ...
@@ -63,7 +63,7 @@ static int avisynth_read_header(AVFormatContext *s)
63 63
   res = AVIFileInfo(avs->file, &info, sizeof(info));
64 64
   if (res != S_OK)
65 65
     {
66
-      av_log(s, AV_LOG_ERROR, "AVIFileInfo failed with error %ld", res);
66
+      av_log(s, AV_LOG_ERROR, "AVIFileInfo failed with error %ld\n", res);
67 67
       AVIFileExit();
68 68
       return -1;
69 69
     }