[FFmpeg-cvslog] avcodec/sgienc: Combine av_log() statements

Andreas Rheinhardt git at videolan.org
Fri Dec 4 17:40:35 EET 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Nov 26 19:15:16 2020 +0100| [7722704774efd8af492071ba89251ae57c2a6d74] | committer: Andreas Rheinhardt

avcodec/sgienc: Combine av_log() statements

Reviewed-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7722704774efd8af492071ba89251ae57c2a6d74
---

 libavcodec/sgienc.c | 6 +++---
 1 file 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;
     }
 



More information about the ffmpeg-cvslog mailing list