aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-26 19:15:16 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-04 15:46:46 +0100
commit7722704774efd8af492071ba89251ae57c2a6d74 (patch)
tree8b0ea38f84c01b7e63ead68a519e9e61542d8726
parent2aef81b06377ab9fefad1825cb37860ad19eeb54 (diff)
downloadffmpeg-7722704774efd8af492071ba89251ae57c2a6d74.tar.gz
avcodec/sgienc: Combine av_log() statements
Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-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;
}