From eafbdeefc73c8d3b825d694bfd2dfdc9688529e0 Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Fri, 8 Dec 2023 20:41:58 +1100 Subject: [PATCH] svt: fix c99 extension warning --- libheif/plugins/encoder_svt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libheif/plugins/encoder_svt.cc b/libheif/plugins/encoder_svt.cc index 036a1fbc0d..e5ee5723c7 100644 --- a/libheif/plugins/encoder_svt.cc +++ b/libheif/plugins/encoder_svt.cc @@ -674,7 +674,7 @@ struct heif_error svt_encode_image(void* encoder_raw, const struct heif_image* i svt_config.logical_processors = encoder->threads; // disable 2-pass - svt_config.rc_stats_buffer = (SvtAv1FixedBuf) {nullptr, 0}; + svt_config.rc_stats_buffer = SvtAv1FixedBuf {nullptr, 0}; svt_config.rate_control_mode = 0; // constant rate factor //svt_config.enable_adaptive_quantization = 0; // 2 is CRF (the default), 0 would be CQP