This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch devs/devilhorns/apos
in repository efl.
View the commit online.
commit 2de869c0c7155b5a0aff1d19228d9e9a6ec78408
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Tue May 16 11:48:14 2023 +0100
evas - avif - dont be noisy with eina err logs on invalid files
evas will use all loaders (brute force) if it can't guess by extension
- this means loaders need to stay quiet about invalid file formats as
this is literally intended to probe if the file is really of that
format when nothng is known about it.
---
src/modules/evas/image_loaders/avif/evas_image_load_avif.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/modules/evas/image_loaders/avif/evas_image_load_avif.c b/src/modules/evas/image_loaders/avif/evas_image_load_avif.c
index 953594002f..2ea129f79f 100644
--- a/src/modules/evas/image_loaders/avif/evas_image_load_avif.c
+++ b/src/modules/evas/image_loaders/avif/evas_image_load_avif.c
@@ -65,7 +65,6 @@ evas_image_load_file_head_avif_internal(Evas_Loader_Internal *loader,
codec_name = avifCodecName(decoder->codecChoice, AVIF_CODEC_FLAG_CAN_DECODE);
if (!codec_name)
{
- ERR("AV1 codec not available");
*error = EVAS_LOAD_ERROR_GENERIC;
goto destroy_decoder;
}
@@ -76,14 +75,12 @@ evas_image_load_file_head_avif_internal(Evas_Loader_Internal *loader,
res = avifDecoderParse(decoder);
if (res != AVIF_RESULT_OK)
{
- ERR("avif file format invalid");
*error = EVAS_LOAD_ERROR_GENERIC;
goto destroy_decoder;
}
if (decoder->imageCount < 1)
{
- ERR("avif file format invalid");
*error = EVAS_LOAD_ERROR_GENERIC;
goto destroy_decoder;
}
@@ -91,7 +88,6 @@ evas_image_load_file_head_avif_internal(Evas_Loader_Internal *loader,
res = avifDecoderNextImage(decoder);
if (res != AVIF_RESULT_OK)
{
- ERR("avif file format invalid");
*error = EVAS_LOAD_ERROR_GENERIC;
goto destroy_decoder;
}
@@ -162,7 +158,6 @@ evas_image_load_file_data_avif_internal(Evas_Loader_Internal *loader,
AVIF_CODEC_FLAG_CAN_DECODE);
if (!codec_name)
{
- ERR("AV1 codec not available");
*error = EVAS_LOAD_ERROR_GENERIC;
goto on_error;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.