aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2020-10-11 19:59:24 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2020-10-11 19:59:24 +0200
commit86f0bba776018cd83642c0195ac3f41f3c87c1d3 (patch)
treeb7295a46cae136a9b83fed3ca714bfbc36ec123a /libavcodec
parent9b72cea4463dd2fabcd9ba1454a0855e521d0148 (diff)
downloadffmpeg-86f0bba776018cd83642c0195ac3f41f3c87c1d3.tar.gz
lavc, lavf: Remove newlines from calls to avpriv_request_sample().
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/adpcm.c2
-rw-r--r--libavcodec/alsdec.c2
-rw-r--r--libavcodec/g2meet.c2
-rw-r--r--libavcodec/h264_direct.c2
-rw-r--r--libavcodec/mpeg4videodec.c2
-rw-r--r--libavcodec/tiff.c4
6 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 37d503ff6c..f7da3dcf89 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -129,7 +129,7 @@ static av_cold int adpcm_decode_init(AVCodecContext * avctx)
min_channels = 2;
max_channels = 8;
if (avctx->channels & 1) {
- avpriv_request_sample(avctx, "channel count %d\n", avctx->channels);
+ avpriv_request_sample(avctx, "channel count %d", avctx->channels);
return AVERROR_PATCHWELCOME;
}
break;
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index 62c6036037..c2c460a29c 100644
--- a/libavcodec/alsdec.c
+++ b/libavcodec/alsdec.c
@@ -350,7 +350,7 @@ static av_cold int read_specific_config(ALSDecContext *ctx)
return AVERROR_INVALIDDATA;
if (avctx->channels > FF_SANE_NB_CHANNELS) {
- avpriv_request_sample(avctx, "Huge number of channels\n");
+ avpriv_request_sample(avctx, "Huge number of channels");
return AVERROR_PATCHWELCOME;
}
diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c
index 7ef275c9fe..6b870ae3d4 100644
--- a/libavcodec/g2meet.c
+++ b/libavcodec/g2meet.c
@@ -560,7 +560,7 @@ static uint32_t epic_decode_pixel_pred(ePICContext *dc, int x, int y,
}
if (R<0 || G<0 || B<0 || R > 255 || G > 255 || B > 255) {
- avpriv_request_sample(NULL, "RGB %d %d %d is out of range\n", R, G, B);
+ avpriv_request_sample(NULL, "RGB %d %d %d (out of range)", R, G, B);
return 0;
}
diff --git a/libavcodec/h264_direct.c b/libavcodec/h264_direct.c
index a01d823e7a..8f07981130 100644
--- a/libavcodec/h264_direct.c
+++ b/libavcodec/h264_direct.c
@@ -43,7 +43,7 @@ static int get_scale_factor(H264SliceContext *sl,
int td = av_clip_int8(pocdiff);
if (pocdiff != (int)pocdiff)
- avpriv_request_sample(sl->h264->avctx, "pocdiff overflow\n");
+ avpriv_request_sample(sl->h264->avctx, "pocdiff overflow");
if (td == 0 || sl->ref_list[0][i].parent->long_ref) {
return 256;
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index 14fb79261d..95a0e63a29 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -3347,7 +3347,7 @@ int ff_mpeg4_decode_picture_header(Mpeg4DecContext *ctx, GetBitContext *gb, int
next_start_code_studio(gb);
extension_and_user_data(s, gb, 0);
} else if (s->studio_profile) {
- avpriv_request_sample(s->avctx, "Mixes studio and non studio profile\n");
+ avpriv_request_sample(s->avctx, "Mix of studio and non studio profile");
return AVERROR_PATCHWELCOME;
}
s->avctx->profile = profile;
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 9bf08b1900..2e45464218 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -1590,7 +1590,7 @@ static int tiff_decode_tag(TiffContext *s, AVFrame *frame)
break;
case TIFF_GEO_KEY_DIRECTORY:
if (s->geotag_count) {
- avpriv_request_sample(s->avctx, "Multiple geo key directories\n");
+ avpriv_request_sample(s->avctx, "Multiple geo key directories");
return AVERROR_INVALIDDATA;
}
ADD_METADATA(1, "GeoTIFF_Version", NULL);
@@ -1860,7 +1860,7 @@ again:
return AVERROR_INVALIDDATA;
}
if (off <= last_off) {
- avpriv_request_sample(s->avctx, "non increasing IFD offset\n");
+ avpriv_request_sample(s->avctx, "non increasing IFD offset");
return AVERROR_INVALIDDATA;
}
if (off >= UINT_MAX - 14 || avpkt->size < off + 14) {