diff --git a/media/libopus/moz.build b/media/libopus/moz.build --- a/media/libopus/moz.build +++ b/media/libopus/moz.build @@ -18,11 +18,11 @@ AllowCompilerWarnings() FINAL_LIBRARY = "gkmedias" DEFINES["OPUS_BUILD"] = True -DEFINES["OPUS_VERSION"] = "2654707e86cc94413998976d179b2ab4a2aa3114" +DEFINES["OPUS_VERSION"] = "757c53f775a0b651b0512a1992d67f4b2159a378" DEFINES["USE_ALLOCA"] = True DEFINES["ENABLE_HARDENING"] = True # Don"t export symbols DEFINES["OPUS_EXPORT"] = "" diff --git a/media/libopus/moz.yaml b/media/libopus/moz.yaml --- a/media/libopus/moz.yaml +++ b/media/libopus/moz.yaml @@ -18,15 +18,15 @@ # Usually different from repository url url: https://opus-codec.org/ # Human-readable identifier for this version/release # Generally "version NNN", "tag SSS", "bookmark SSS" - release: 997fdf54e781ae1c04dee42018f35388a04fe483 (2022-08-04T19:02:02.000-04:00). + release: 757c53f775a0b651b0512a1992d67f4b2159a378 (2022-11-24T17:20:32.000-08:00). # Revision to pull in # Must be a long or short commit SHA (long preferred) - revision: 997fdf54e781ae1c04dee42018f35388a04fe483 + revision: 757c53f775a0b651b0512a1992d67f4b2159a378 # The package's license, where possible using the mnemonic from # https://spdx.org/licenses/ # Multiple licenses can be specified (as a YAML list) # A "LICENSE" file must exist containing the full license text diff --git a/media/libopus/silk/MacroDebug.h b/media/libopus/silk/MacroDebug.h --- a/media/libopus/silk/MacroDebug.h +++ b/media/libopus/silk/MacroDebug.h @@ -827,11 +827,11 @@ #undef silk_RSHIFT_ROUND #define silk_RSHIFT_ROUND(a,b) silk_RSHIFT_ROUND_((a), (b), __FILE__, __LINE__) static OPUS_INLINE opus_int32 silk_RSHIFT_ROUND_(opus_int32 a, opus_int32 shift, char *file, int line){ opus_int32 ret; ret = shift == 1 ? (a >> 1) + (a & 1) : ((a >> (shift - 1)) + 1) >> 1; - /* the marco definition can't handle a shift of zero */ + /* the macro definition can't handle a shift of zero */ if ( (shift <= 0) || (shift>31) || ((opus_int64)ret != ((opus_int64)a + ((opus_int64)1 << (shift - 1))) >> shift) ) { fprintf (stderr, "silk_RSHIFT_ROUND(%d, %d) in %s: line %d\n", a, shift, file, line); #ifdef FIXED_DEBUG_ASSERT silk_assert( 0 ); @@ -842,11 +842,11 @@ #undef silk_RSHIFT_ROUND64 #define silk_RSHIFT_ROUND64(a,b) silk_RSHIFT_ROUND64_((a), (b), __FILE__, __LINE__) static OPUS_INLINE opus_int64 silk_RSHIFT_ROUND64_(opus_int64 a, opus_int32 shift, char *file, int line){ opus_int64 ret; - /* the marco definition can't handle a shift of zero */ + /* the macro definition can't handle a shift of zero */ if ( (shift <= 0) || (shift>=64) ) { fprintf (stderr, "silk_RSHIFT_ROUND64(%lld, %d) in %s: line %d\n", (long long)a, shift, file, line); #ifdef FIXED_DEBUG_ASSERT silk_assert( 0 );