The package no longer compiles with newer versions of GCC. Apply this patch pls:
--- libheif-1.21.2/libheif/plugins/encoder_svt.cc 2026-05-11 19:21:52.359856462 +0300
+++ libheif-1.21.2/libheif/plugins/encoder_svt2.cc 2026-05-11 19:22:13.221166699 +0300
@@ -847,7 +847,7 @@
//svt_config.pred_structure = 1; // LOW_DELAY
break;
case heif_sequence_gop_structure_unrestricted:
- svt_config.pred_structure = 2; // RANDOM_ACCESS
+ svt_config.pred_structure = PredStructure::RANDOM_ACCESS; // RANDOM_ACCESS
break;
}
#else
Pinned Comments