[FFmpeg-cvslog] lavf: add missing new line to some error messages

Piotr Bandurski git at videolan.org
Sat Sep 1 16:03:19 CEST 2012


ffmpeg | branch: master | Piotr Bandurski <ami_stuff at o2.pl> | Sat Sep  1 12:35:14 2012 +0200| [08277a45c33f2e96dcef9878c6dafdeac9a01597] | committer: Michael Niedermayer

lavf: add missing new line to some error messages

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

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

 libavformat/avidec.c    |    2 +-
 libavformat/bluray.c    |    2 +-
 libavformat/dv.c        |    2 +-
 libavformat/gxfenc.c    |    2 +-
 libavformat/iff.c       |    2 +-
 libavformat/msnwc_tcp.c |    2 +-
 libavformat/mxfenc.c    |    2 +-
 libavformat/omaenc.c    |    2 +-
 libavformat/rtpdec.c    |    2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index a70a011..3d87615 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -235,7 +235,7 @@ static int read_braindead_odml_indx(AVFormatContext *s, int frame_num){
             frame_num += duration;
 
             if(avio_seek(pb, pos, SEEK_SET) < 0) {
-                av_log(s, AV_LOG_ERROR, "Failed to restore position after reading index");
+                av_log(s, AV_LOG_ERROR, "Failed to restore position after reading index\n");
                 return -1;
             }
 
diff --git a/libavformat/bluray.c b/libavformat/bluray.c
index 2f918b1..eb55105 100644
--- a/libavformat/bluray.c
+++ b/libavformat/bluray.c
@@ -93,7 +93,7 @@ static int check_disc_info(URLContext *h)
                    "Media stream encrypted with BD+, install and configure libbdplus");
         } else {
         */
-            av_log(h, AV_LOG_ERROR, "Unable to decrypt BD+ encrypted media");
+            av_log(h, AV_LOG_ERROR, "Unable to decrypt BD+ encrypted media\n");
         /*}*/
         return -1;
     }
diff --git a/libavformat/dv.c b/libavformat/dv.c
index 0da3e9e..01665c2 100644
--- a/libavformat/dv.c
+++ b/libavformat/dv.c
@@ -463,7 +463,7 @@ static int dv_read_timecode(AVFormatContext *s) {
     if (ret)
         av_dict_set(&s->metadata, "timecode", timecode, 0);
     else if (ret < 0)
-        av_log(s, AV_LOG_ERROR, "Detected timecode is invalid");
+        av_log(s, AV_LOG_ERROR, "Detected timecode is invalid\n");
 
 finish:
     av_free(partial_frame);
diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c
index 7c6b4cc..8d89e9e 100644
--- a/libavformat/gxfenc.c
+++ b/libavformat/gxfenc.c
@@ -683,7 +683,7 @@ static int gxf_write_header(AVFormatContext *s)
     AVDictionaryEntry *tcr = av_dict_get(s->metadata, "timecode", NULL, 0);
 
     if (!pb->seekable) {
-        av_log(s, AV_LOG_ERROR, "gxf muxer does not support streamed output, patch welcome");
+        av_log(s, AV_LOG_ERROR, "gxf muxer does not support streamed output, patch welcome\n");
         return -1;
     }
 
diff --git a/libavformat/iff.c b/libavformat/iff.c
index e415f75..0055283 100644
--- a/libavformat/iff.c
+++ b/libavformat/iff.c
@@ -273,7 +273,7 @@ static int iff_read_header(AVFormatContext *s)
 
         if (metadata_tag) {
             if ((res = get_metadata(s, metadata_tag, data_size)) < 0) {
-                av_log(s, AV_LOG_ERROR, "cannot allocate metadata tag %s!", metadata_tag);
+                av_log(s, AV_LOG_ERROR, "cannot allocate metadata tag %s!\n", metadata_tag);
                 return res;
             }
         }
diff --git a/libavformat/msnwc_tcp.c b/libavformat/msnwc_tcp.c
index be02455..0ac1c30 100644
--- a/libavformat/msnwc_tcp.c
+++ b/libavformat/msnwc_tcp.c
@@ -92,7 +92,7 @@ static int msnwc_tcp_read_header(AVFormatContext *ctx)
     while(avio_r8(pb) != HEADER_SIZE && !url_feof(pb));
 
     if(url_feof(pb)) {
-        av_log(ctx, AV_LOG_ERROR, "Could not find valid start.");
+        av_log(ctx, AV_LOG_ERROR, "Could not find valid start.\n");
         return -1;
     }
 
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 2d5bf67..3aa2bcf 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -1505,7 +1505,7 @@ static int mxf_parse_dv_frame(AVFormatContext *s, AVStream *st, AVPacket *pkt)
         ul_index = 6 + pal;
         frame_size = pal ? 288000 : 240000;
         if (sc->interlaced) {
-            av_log(s, AV_LOG_ERROR, "source marked as interlaced but codec profile is progressive");
+            av_log(s, AV_LOG_ERROR, "source marked as interlaced but codec profile is progressive\n");
             sc->interlaced = 0;
         }
         break;
diff --git a/libavformat/omaenc.c b/libavformat/omaenc.c
index ea28e10..ab31d65 100644
--- a/libavformat/omaenc.c
+++ b/libavformat/omaenc.c
@@ -61,7 +61,7 @@ static av_cold int oma_write_header(AVFormatContext *s)
     switch(format->codec_tag) {
     case OMA_CODECID_ATRAC3:
         if (format->channels != 2) {
-            av_log(s, AV_LOG_ERROR, "ATRAC3 in OMA is only supported with 2 channels");
+            av_log(s, AV_LOG_ERROR, "ATRAC3 in OMA is only supported with 2 channels\n");
             return AVERROR(EINVAL);
         }
         if (format->extradata_size == 14) /* WAV format extradata */
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index 0be047c..98f6595 100644
--- a/libavformat/rtpdec.c
+++ b/libavformat/rtpdec.c
@@ -771,7 +771,7 @@ int ff_parse_fmtp(AVStream *stream, PayloadContext *data, const char *p,
     int value_size = strlen(p) + 1;
 
     if (!(value = av_malloc(value_size))) {
-        av_log(stream, AV_LOG_ERROR, "Failed to allocate data for FMTP.");
+        av_log(stream, AV_LOG_ERROR, "Failed to allocate data for FMTP.\n");
         return AVERROR(ENOMEM);
     }
 



More information about the ffmpeg-cvslog mailing list