From 73df3f0d6c10e7c60c50b69781793530ed3d6898 Mon Sep 17 00:00:00 2001 From: Adam Wieckowski Date: Mon, 14 Oct 2024 14:10:05 +0200 Subject: [PATCH 1/2] Workaround for an asan false positive --- source/Lib/CommonLib/Quant.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/Lib/CommonLib/Quant.cpp b/source/Lib/CommonLib/Quant.cpp index 2fd7d1c2..9cce037d 100644 --- a/source/Lib/CommonLib/Quant.cpp +++ b/source/Lib/CommonLib/Quant.cpp @@ -539,6 +539,9 @@ bool Quant::xSetScalingListDec(const ScalingList &scalingList, uint32_t listId, { const uint32_t width = g_vvcScalingListSizeX[sizeId]; const uint32_t height = g_vvcScalingListSizeX[sizeId]; +#if defined( __SANITIZE_ADDRESS__ ) // work around a bug in GCC address-sanitizer, when building with -fsanitize=address, but without -fsanitize=undefined + volatile +#endif const uint32_t ratio = g_vvcScalingListSizeX[sizeId]/std::min(MAX_MATRIX_SIZE_NUM,(int)g_vvcScalingListSizeX[sizeId]); const int *coeff = scalingList.getScalingListAddress(scalingListId); From ddef5ebc8ff7a1e594f11b782be78e28128ca91c Mon Sep 17 00:00:00 2001 From: Adam Wieckowski Date: Mon, 14 Oct 2024 14:10:29 +0200 Subject: [PATCH 2/2] Bump version to 3.0.0rc3 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d211db7f..d045019f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ cmake_policy( VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} ) # project name project( vvdec VERSION 3.0.0 ) # set alternative version numbering for release candidates -set( PROJECT_VERSION_RC rc2 ) +set( PROJECT_VERSION_RC rc3 ) if( PROJECT_VERSION_RC ) set( PROJECT_VERSION "${PROJECT_VERSION}-${PROJECT_VERSION_RC}" ) endif()