aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2012-09-01 12:35:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-01 15:59:30 +0200
commit08277a45c33f2e96dcef9878c6dafdeac9a01597 (patch)
tree4d8adeb60adf84c1fe4a781cce6a6173d5116a23 /libavformat
parent9b4badb09b3fa2f5ea665d94a1cb189df5ded318 (diff)
downloadffmpeg-08277a45c33f2e96dcef9878c6dafdeac9a01597.tar.gz
lavf: add missing new line to some error messages
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avidec.c2
-rw-r--r--libavformat/bluray.c2
-rw-r--r--libavformat/dv.c2
-rw-r--r--libavformat/gxfenc.c2
-rw-r--r--libavformat/iff.c2
-rw-r--r--libavformat/msnwc_tcp.c2
-rw-r--r--libavformat/mxfenc.c2
-rw-r--r--libavformat/omaenc.c2
-rw-r--r--libavformat/rtpdec.c2
9 files changed, 9 insertions, 9 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index a70a0113a0..3d876159ac 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 2f918b1a17..eb55105fa6 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 0da3e9ef65..01665c21b1 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 7c6b4cc6e7..8d89e9e1f6 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 e415f7516b..0055283b0e 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 be0245560d..0ac1c30747 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 2d5bf67090..3aa2bcf5e2 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 ea28e109c4..ab31d65fac 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 0be047cd49..98f6595132 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);
}