Fix OSCE using uninitialized range coder for PLC
Some checks failed
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A Win32 config:Release name:Windows/Lib/X86/Release os:windows-latest]) (push) Has been cancelled
DRED / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a config:Release name:Android/Lib/ARMv8/Release os:ubuntu-latest]) (push) Has been cancelled
DRED / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86_64 config:Release name:Android/Lib/X64/Release os:ubuntu-latest]) (push) Has been cancelled
Autotools / AutoMake/${{ matrix.config.name }} (map[automakeconfig:<nil> compiler:gcc name:Linux/GCC os:ubuntu-latest]) (push) Has been cancelled
Autotools / AutoMake/${{ matrix.config.name }} (map[buildconfig:--enable-assertions --enable-custom-modes --enable-dred --enable-osce compiler:gcc name:Linux/GCC/EnableDNN os:ubuntu-latest]) (push) Has been cancelled
Autotools / AutoMake/${{ matrix.config.name }} (map[buildconfig:--enable-assertions --enable-custom-modes compiler:gcc name:Linux/GCC/EnableCustomModes os:ubuntu-latest]) (push) Has been cancelled
Autotools / AutoMake/${{ matrix.config.name }} (map[buildconfig:--enable-assertions compiler:gcc name:Linux/GCC/EnableAssertions os:ubuntu-latest]) (push) Has been cancelled
CMake / Test build with CMake 3.1.0 (push) Has been cancelled
CMake / CMake MINGW (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args: config:Release name:Linux/Lib/X64/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args: config:Release name:MacOSX/Lib/X64/Release os:macos-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DBUILD_FRAMEWORK=ON -DCMAKE_INSTALL_PREFIX=install config:Release name:MacOSX/Framework/X64/Release os:macos-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DBUILD_SHARED_LIBS=ON config:Release name:Linux/So/X64/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DBUILD_SHARED_LIBS=ON config:Release name:MacOSX/So/X64/Release os:macos-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DBUILD_SHARED_LIBS=ON config:Release name:Android/So/ARMv8/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a config:Release name:Android/Lib/ARMv8/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86 -DBUILD_SHARED_LIBS=ON config:Release name:Android/So/X86/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86 config:Release name:Android/Lib/X86/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86_64 -DBUILD_SHARED_LIBS=ON config:Release name:Android/So/X64/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86_64 config:Release name:Android/Lib/X64/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DOPUS_ASSERTIONS=ON -DOPUS_FUZZING=ON config:Release name:AssertionsFuzz/Linux/Lib/X64/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DOPUS_ASSERTIONS=ON -DOPUS_FUZZING=ON config:Release name:AssertionsFuzz/MacOSX/Lib/X64/Release os:macos-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DOPUS_CUSTOM_MODES=ON config:Release name:CustomModes/Linux/Lib/X64/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Unix Makefiles" -DBUILD_FRAMEWORK=ON -DCMAKE_INSTALL_PREFIX=install -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_ARCHITECTURES=arm64 config:Release name:iOS/Framework/arm64/Release os:macos-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_ARCHITECTURES=arm64 config:Release name:iOS/Dll/arm64/Release os:macos-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Unix Makefiles" -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_ARCHITECTURES=arm64 config:Release name:iOS/Lib/arm64/Release os:macos-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A ARM64 -DBUILD_SHARED_LIBS=ON config:Release name:Windows/Dll/ARMv8/Release os:windows-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A ARM64 config:Release name:Windows/Lib/armv8/Release os:windows-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A Win32 -DBUILD_SHARED_LIBS=ON config:Release name:Windows/Dll/X64/Release os:windows-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A Win32 -DBUILD_SHARED_LIBS=ON config:Release name:Windows/Dll/X86/Release os:windows-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A Win32 -DOPUS_ASSERTIONS=ON -DOPUS_FUZZING=ON config:Release name:AssertionsFuzz/Windows/Lib/X64/Release os:windows-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A Win32 config:Release name:Windows/Lib/X64/Release os:windows-latest]) (push) Has been cancelled
DRED / CMake/${{ matrix.config.name }} (map[args:-DOPUS_X86_PRESUME_AVX2=OFF config:Release name:MacOSX/Lib/X64/Release os:macos-latest]) (push) Has been cancelled
DRED / CMake/${{ matrix.config.name }} (map[args:-DOPUS_X86_PRESUME_AVX2=ON config:Release name:Linux/Lib/X64/Release os:ubuntu-latest]) (push) Has been cancelled
DRED / CMake/${{ matrix.config.name }} (map[args:-G "Unix Makefiles" -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_ARCHITECTURES=arm64 config:Release name:iOS/Lib/arm64/Release os:macos-latest]) (push) Has been cancelled
DRED / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A ARM64 config:Release name:Windows/Lib/armv8/Release os:windows-latest]) (push) Has been cancelled
DRED / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -DOPUS_X86_PRESUME_AVX2=ON config:Release name:Windows/Lib/X64/Release os:windows-latest]) (push) Has been cancelled
DRED / AutoTools/${{ matrix.config.name }} (map[automakeconfig:<nil> compiler:clang name:Linux/Clang os:ubuntu-latest]) (push) Has been cancelled
DRED / AutoTools/${{ matrix.config.name }} (map[automakeconfig:<nil> compiler:gcc name:Linux/GCC os:ubuntu-latest]) (push) Has been cancelled
Repository / Check trailing white spaces (push) Has been cancelled
Some checks failed
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A Win32 config:Release name:Windows/Lib/X86/Release os:windows-latest]) (push) Has been cancelled
DRED / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a config:Release name:Android/Lib/ARMv8/Release os:ubuntu-latest]) (push) Has been cancelled
DRED / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86_64 config:Release name:Android/Lib/X64/Release os:ubuntu-latest]) (push) Has been cancelled
Autotools / AutoMake/${{ matrix.config.name }} (map[automakeconfig:<nil> compiler:gcc name:Linux/GCC os:ubuntu-latest]) (push) Has been cancelled
Autotools / AutoMake/${{ matrix.config.name }} (map[buildconfig:--enable-assertions --enable-custom-modes --enable-dred --enable-osce compiler:gcc name:Linux/GCC/EnableDNN os:ubuntu-latest]) (push) Has been cancelled
Autotools / AutoMake/${{ matrix.config.name }} (map[buildconfig:--enable-assertions --enable-custom-modes compiler:gcc name:Linux/GCC/EnableCustomModes os:ubuntu-latest]) (push) Has been cancelled
Autotools / AutoMake/${{ matrix.config.name }} (map[buildconfig:--enable-assertions compiler:gcc name:Linux/GCC/EnableAssertions os:ubuntu-latest]) (push) Has been cancelled
CMake / Test build with CMake 3.1.0 (push) Has been cancelled
CMake / CMake MINGW (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args: config:Release name:Linux/Lib/X64/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args: config:Release name:MacOSX/Lib/X64/Release os:macos-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DBUILD_FRAMEWORK=ON -DCMAKE_INSTALL_PREFIX=install config:Release name:MacOSX/Framework/X64/Release os:macos-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DBUILD_SHARED_LIBS=ON config:Release name:Linux/So/X64/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DBUILD_SHARED_LIBS=ON config:Release name:MacOSX/So/X64/Release os:macos-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DBUILD_SHARED_LIBS=ON config:Release name:Android/So/ARMv8/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a config:Release name:Android/Lib/ARMv8/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86 -DBUILD_SHARED_LIBS=ON config:Release name:Android/So/X86/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86 config:Release name:Android/Lib/X86/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86_64 -DBUILD_SHARED_LIBS=ON config:Release name:Android/So/X64/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86_64 config:Release name:Android/Lib/X64/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DOPUS_ASSERTIONS=ON -DOPUS_FUZZING=ON config:Release name:AssertionsFuzz/Linux/Lib/X64/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DOPUS_ASSERTIONS=ON -DOPUS_FUZZING=ON config:Release name:AssertionsFuzz/MacOSX/Lib/X64/Release os:macos-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-DOPUS_CUSTOM_MODES=ON config:Release name:CustomModes/Linux/Lib/X64/Release os:ubuntu-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Unix Makefiles" -DBUILD_FRAMEWORK=ON -DCMAKE_INSTALL_PREFIX=install -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_ARCHITECTURES=arm64 config:Release name:iOS/Framework/arm64/Release os:macos-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_ARCHITECTURES=arm64 config:Release name:iOS/Dll/arm64/Release os:macos-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Unix Makefiles" -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_ARCHITECTURES=arm64 config:Release name:iOS/Lib/arm64/Release os:macos-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A ARM64 -DBUILD_SHARED_LIBS=ON config:Release name:Windows/Dll/ARMv8/Release os:windows-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A ARM64 config:Release name:Windows/Lib/armv8/Release os:windows-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A Win32 -DBUILD_SHARED_LIBS=ON config:Release name:Windows/Dll/X64/Release os:windows-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A Win32 -DBUILD_SHARED_LIBS=ON config:Release name:Windows/Dll/X86/Release os:windows-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A Win32 -DOPUS_ASSERTIONS=ON -DOPUS_FUZZING=ON config:Release name:AssertionsFuzz/Windows/Lib/X64/Release os:windows-latest]) (push) Has been cancelled
CMake / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A Win32 config:Release name:Windows/Lib/X64/Release os:windows-latest]) (push) Has been cancelled
DRED / CMake/${{ matrix.config.name }} (map[args:-DOPUS_X86_PRESUME_AVX2=OFF config:Release name:MacOSX/Lib/X64/Release os:macos-latest]) (push) Has been cancelled
DRED / CMake/${{ matrix.config.name }} (map[args:-DOPUS_X86_PRESUME_AVX2=ON config:Release name:Linux/Lib/X64/Release os:ubuntu-latest]) (push) Has been cancelled
DRED / CMake/${{ matrix.config.name }} (map[args:-G "Unix Makefiles" -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_ARCHITECTURES=arm64 config:Release name:iOS/Lib/arm64/Release os:macos-latest]) (push) Has been cancelled
DRED / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -A ARM64 config:Release name:Windows/Lib/armv8/Release os:windows-latest]) (push) Has been cancelled
DRED / CMake/${{ matrix.config.name }} (map[args:-G "Visual Studio 17 2022" -DOPUS_X86_PRESUME_AVX2=ON config:Release name:Windows/Lib/X64/Release os:windows-latest]) (push) Has been cancelled
DRED / AutoTools/${{ matrix.config.name }} (map[automakeconfig:<nil> compiler:clang name:Linux/Clang os:ubuntu-latest]) (push) Has been cancelled
DRED / AutoTools/${{ matrix.config.name }} (map[automakeconfig:<nil> compiler:gcc name:Linux/GCC os:ubuntu-latest]) (push) Has been cancelled
Repository / Check trailing white spaces (push) Has been cancelled
This commit is contained in:
parent
53c2313c58
commit
f20575dd86
@ -58,17 +58,11 @@ opus_int silk_decode_frame(
|
||||
{
|
||||
VARDECL( silk_decoder_control, psDecCtrl );
|
||||
opus_int L, mv_len, ret = 0;
|
||||
#ifdef ENABLE_OSCE
|
||||
opus_int32 ec_start;
|
||||
#endif
|
||||
SAVE_STACK;
|
||||
|
||||
L = psDec->frame_length;
|
||||
ALLOC( psDecCtrl, 1, silk_decoder_control );
|
||||
psDecCtrl->LTP_scale_Q14 = 0;
|
||||
#ifdef ENABLE_OSCE
|
||||
ec_start = ec_tell(psRangeDec);
|
||||
#endif
|
||||
|
||||
/* Safety checks */
|
||||
celt_assert( L > 0 && L <= MAX_FRAME_LENGTH );
|
||||
@ -77,6 +71,10 @@ opus_int silk_decode_frame(
|
||||
( lostFlag == FLAG_DECODE_LBRR && psDec->LBRR_flags[ psDec->nFramesDecoded ] == 1 ) )
|
||||
{
|
||||
VARDECL( opus_int16, pulses );
|
||||
#ifdef ENABLE_OSCE
|
||||
opus_int32 ec_start;
|
||||
ec_start = ec_tell(psRangeDec);
|
||||
#endif
|
||||
ALLOC( pulses, (L + SHELL_CODEC_FRAME_LENGTH - 1) &
|
||||
~(SHELL_CODEC_FRAME_LENGTH - 1), opus_int16 );
|
||||
/*********************************************/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user