The branch, master has been updated
via 7770c0bf0d958851b4aaf42de9246a7cd874e15c (commit)
from 5b98cea4bff2cbbb251b621a2b6c3ab76f814efa (commit)
- Log -----------------------------------------------------------------
commit 7770c0bf0d958851b4aaf42de9246a7cd874e15c
Author: James Almer <[email protected]>
AuthorDate: Sun Nov 2 00:20:18 2025 -0300
Commit: James Almer <[email protected]>
CommitDate: Sun Nov 2 00:21:18 2025 -0300
avcodec/exr: don't remove Float2HalfTables tables alongside the deprecated
gamma code
It's used by other parts of the module that will fail to build otherwise
after
the aforementioned removal.
Signed-off-by: James Almer <[email protected]>
diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index c83325aa52..5f0d444828 100644
--- a/libavcodec/exr.c
+++ b/libavcodec/exr.c
@@ -196,9 +196,9 @@ typedef struct EXRContext {
enum AVColorTransferCharacteristic apply_trc_type;
float gamma;
uint16_t gamma_table[65536];
- Float2HalfTables f2h_tables;
#endif
+ Float2HalfTables f2h_tables;
Half2FloatTables h2f_tables;
} EXRContext;
@@ -2300,9 +2300,9 @@ static av_cold int decode_init(AVCodecContext *avctx)
union av_intfloat32 t;
float one_gamma = 1.0f / s->gamma;
av_csp_trc_function trc_func = NULL;
- ff_init_float2half_tables(&s->f2h_tables);
#endif
+ ff_init_float2half_tables(&s->f2h_tables);
ff_init_half2float_tables(&s->h2f_tables);
s->avctx = avctx;
-----------------------------------------------------------------------
Summary of changes:
libavcodec/exr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]