avcodec/sgienc: Combine av_log() statements

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-11-26 19:15:16 +01:00
parent 2aef81b063
commit 7722704774

View File

@ -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;
}