From 86f0bba776018cd83642c0195ac3f41f3c87c1d3 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 11 Oct 2020 19:59:24 +0200 Subject: lavc, lavf: Remove newlines from calls to avpriv_request_sample(). --- libavformat/dhav.c | 4 ++-- libavformat/vividas.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libavformat') diff --git a/libavformat/dhav.c b/libavformat/dhav.c index 5e9abdb611..79afe9be03 100644 --- a/libavformat/dhav.c +++ b/libavformat/dhav.c @@ -359,7 +359,7 @@ retry: case 0x4: case 0x8: st->codecpar->codec_id = AV_CODEC_ID_H264; break; case 0xc: st->codecpar->codec_id = AV_CODEC_ID_HEVC; break; - default: avpriv_request_sample(s, "Unknown video codec %X\n", dhav->video_codec); + default: avpriv_request_sample(s, "Unknown video codec %X", dhav->video_codec); } st->duration = dhav->duration; st->codecpar->width = dhav->width; @@ -392,7 +392,7 @@ retry: case 0x1f: st->codecpar->codec_id = AV_CODEC_ID_MP2; break; case 0x21: st->codecpar->codec_id = AV_CODEC_ID_MP3; break; case 0x0d: st->codecpar->codec_id = AV_CODEC_ID_ADPCM_MS; break; - default: avpriv_request_sample(s, "Unknown audio codec %X\n", dhav->audio_codec); + default: avpriv_request_sample(s, "Unknown audio codec %X", dhav->audio_codec); } st->duration = dhav->duration; st->codecpar->channels = dhav->audio_channels; diff --git a/libavformat/vividas.c b/libavformat/vividas.c index 7917df5d64..4b2801ef34 100644 --- a/libavformat/vividas.c +++ b/libavformat/vividas.c @@ -156,7 +156,7 @@ static void decode_block(uint8_t *src, uint8_t *dest, unsigned size, uint32_t tmpkey = *key_ptr - key; if (a2 > s) { a2 = s; - avpriv_request_sample(NULL, "tiny aligned block\n"); + avpriv_request_sample(NULL, "tiny aligned block"); } memcpy(tmp + align, src, a2); xor_block(tmp, tmp, 4, key, &tmpkey); -- cgit v1.2.3