Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-26 21:15:16 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-04 17:46:46 +0300
commit7722704774efd8af492071ba89251ae57c2a6d74 (patch)
tree8b0ea38f84c01b7e63ead68a519e9e61542d8726 /libavcodec/sgienc.c
parent2aef81b06377ab9fefad1825cb37860ad19eeb54 (diff)
avcodec/sgienc: Combine av_log() statements
Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/sgienc.c')
-rw-r--r--libavcodec/sgienc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/sgienc.c b/libavcodec/sgienc.c
index 65eff33bc8..3aa0c7f4a5 100644
--- a/libavcodec/sgienc.c
+++ b/libavcodec/sgienc.c
@@ -39,9 +39,9 @@ typedef struct SgiContext {
static av_cold int encode_init(AVCodecContext *avctx)
{
if (avctx->width > 65535 || avctx->height > 65535) {
- av_log(avctx, AV_LOG_ERROR,
- "Unsupported resolution %dx%d.\n", avctx->width, avctx->height);
- av_log(avctx, AV_LOG_ERROR, "SGI does not support resolutions above 65535x65535\n");
+ av_log(avctx, AV_LOG_ERROR, "Unsupported resolution %dx%d. "
+ "SGI does not support resolutions above 65535x65535\n",
+ avctx->width, avctx->height);
return AVERROR_INVALIDDATA;
}