From 9ec4ee469d8ab193b7962d3e7912a974f2438ea2 Mon Sep 17 00:00:00 2001
From: fabrice le leannec <fabrice.leleannec@interdigital.com>
Date: Tue, 30 Jul 2024 12:04:51 +0200
Subject: [PATCH] Fix: option InterSliceSeparateTree set to 0 in classF.cfg,
 and one cleaning

---
 cfg/per-class/classF.cfg              | 1 +
 source/Lib/EncoderLib/CABACWriter.cpp | 4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/cfg/per-class/classF.cfg b/cfg/per-class/classF.cfg
index d050f3d77..1c6d0ccce 100644
--- a/cfg/per-class/classF.cfg
+++ b/cfg/per-class/classF.cfg
@@ -19,3 +19,4 @@ IBCBiPred:       0
 IBCNonAdjCand:      1
 IBCFilter:       1
 ItmpLicExtension:   1
+InterSliceSeparateTree:   0
\ No newline at end of file
diff --git a/source/Lib/EncoderLib/CABACWriter.cpp b/source/Lib/EncoderLib/CABACWriter.cpp
index 4731ad433..986e8b933 100644
--- a/source/Lib/EncoderLib/CABACWriter.cpp
+++ b/source/Lib/EncoderLib/CABACWriter.cpp
@@ -49,9 +49,7 @@
 
 
 #if JVET_AI0136_ADAPTIVE_DUAL_TREE
-Partitioner *g_encPartitionerSST=nullptr;
-#else
-Partitioner* g_encPartitionerSST;
+static Partitioner *g_encPartitionerSST=nullptr;
 #endif
 
 //! \ingroup EncoderLib
-- 
GitLab