summaryrefslogtreecommitdiff
path: root/src/gd_avif.c
diff options
context:
space:
mode:
authorBen Morss <morss@google.com>2021-05-26 11:25:56 -0400
committerBen Morss <morss@google.com>2021-05-26 11:25:56 -0400
commit255e7bd97e92e582ecd958956dbaaccd94e11238 (patch)
treeeeea241fb4098aeece96b4fa8c6bd58b91be191a /src/gd_avif.c
parentcba26d7fc6793e5875322fc8e778ecbfbe88a962 (diff)
downloadlibgd-255e7bd97e92e582ecd958956dbaaccd94e11238.tar.gz
Downgrade WARNING error to NOTICE
I hadn't realized that gd_error() output a LOG_WARNING. I don't think this error is as significant as the errors that occur when we can't process the user's request at all.
Diffstat (limited to 'src/gd_avif.c')
-rw-r--r--src/gd_avif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gd_avif.c b/src/gd_avif.c
index 56103f6..68f7580 100644
--- a/src/gd_avif.c
+++ b/src/gd_avif.c
@@ -374,7 +374,7 @@ BGD_DECLARE(gdImagePtr) gdImageCreateFromAvifCtx (gdIOCtx *ctx)
goto cleanup;
if (!isAvifSrgbImage(decoder->image))
- gd_error_ex(LOG_WARNING, "Image's color profile is not sRGB");
+ gd_error_ex(LOG_NOTICE, "Image's color profile is not sRGB");
// Set up the avifRGBImage, and convert it from YUV to an 8-bit RGB image.
// (While AVIF image pixel depth can be 8, 10, or 12 bits, GD truecolor images are 8-bit.)