Skip to content

Commit

Permalink
Merge pull request #206 from adamjw24/develop_v300rc4
Browse files Browse the repository at this point in the history
Fix ASAN and bump version to 3.0.0rc3
  • Loading branch information
K-os authored Oct 14, 2024
2 parents 4426cde + ddef5eb commit 2dab52c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
3 changes: 3 additions & 0 deletions source/Lib/CommonLib/Quant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2dab52c

Please sign in to comment.