aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-12-03 15:40:26 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-12-03 15:40:26 +0100
commita8cb567e559a99c27bd936a81422147cb23e77a6 (patch)
treed6ce768c702948bd529fd56235fc7f6c30b6bcc6
parent6c15618b90e4872e119fb083d31b6fc7661b33bb (diff)
downloadffmpeg-a8cb567e559a99c27bd936a81422147cb23e77a6.tar.gz
lavc: Remove CR/LF from avpriv_request_sample() calls.
-rw-r--r--libavcodec/aacdec_template.c2
-rw-r--r--libavcodec/dnxhddec.c2
-rw-r--r--libavcodec/m101.c4
-rw-r--r--libavcodec/svq3.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/aacdec_template.c b/libavcodec/aacdec_template.c
index 883ed527f7..8cfa34b255 100644
--- a/libavcodec/aacdec_template.c
+++ b/libavcodec/aacdec_template.c
@@ -452,7 +452,7 @@ static int output_configure(AACContext *ac,
int id = layout_map[i][1];
id_map[type][id] = type_counts[type]++;
if (id_map[type][id] >= MAX_ELEM_ID) {
- avpriv_request_sample(ac->avctx, "Remapped id too large\n");
+ avpriv_request_sample(ac->avctx, "Too large remapped id");
return AVERROR_PATCHWELCOME;
}
}
diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
index 4d1b006bb5..70ce264c96 100644
--- a/libavcodec/dnxhddec.c
+++ b/libavcodec/dnxhddec.c
@@ -234,7 +234,7 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame,
ctx->is_444 = (buf[0x2C] >> 6) & 1;
if (ctx->is_444) {
if (bitdepth == 8) {
- avpriv_request_sample(ctx->avctx, "4:4:4 8 bits\n");
+ avpriv_request_sample(ctx->avctx, "4:4:4 8 bits");
return AVERROR_INVALIDDATA;
} else if (bitdepth == 10) {
ctx->decode_dct_block = dnxhd_decode_dct_block_10_444;
diff --git a/libavcodec/m101.c b/libavcodec/m101.c
index 939d337bff..d2549668fd 100644
--- a/libavcodec/m101.c
+++ b/libavcodec/m101.c
@@ -27,7 +27,7 @@
static av_cold int m101_decode_init(AVCodecContext *avctx)
{
if (avctx->extradata_size < 6*4) {
- avpriv_request_sample(avctx, "Missing or too small extradata (size %d)\n", avctx->extradata_size);
+ avpriv_request_sample(avctx, "Missing or too small extradata (size %d)", avctx->extradata_size);
return AVERROR_INVALIDDATA;
}
@@ -36,7 +36,7 @@ static av_cold int m101_decode_init(AVCodecContext *avctx)
else if (avctx->extradata[2*4] == 8) {
avctx->pix_fmt = AV_PIX_FMT_YUYV422;
} else {
- avpriv_request_sample(avctx, "BPS %d\n", avctx->extradata[2*4]);
+ avpriv_request_sample(avctx, "BPS %d", avctx->extradata[2*4]);
return AVERROR_INVALIDDATA;
}
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index 5aedc1e657..e0747d5884 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -1556,7 +1556,7 @@ static int svq3_decode_frame(AVCodecContext *avctx, void *data,
return -1;
}
if (s->slice_type != s->pict_type) {
- avpriv_request_sample(avctx, "non constant slice type\n");
+ avpriv_request_sample(avctx, "non constant slice type");
}
/* TODO: support s->mb_skip_run */
}