diff options
author | trav90 <travawine@palemoon.org> | 2018-06-23 19:50:16 -0500 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2018-06-23 19:50:16 -0500 |
commit | 949b2ebd167a5d0080f36adf37c8cd52796c9077 (patch) | |
tree | 7707c8a4e48e1930d8380192d289c339cdce243f /media/libopus/celt | |
parent | 0501ac9b4b517bafbd82b63c1a9ed57fc4208372 (diff) | |
download | UXP-949b2ebd167a5d0080f36adf37c8cd52796c9077.tar UXP-949b2ebd167a5d0080f36adf37c8cd52796c9077.tar.gz UXP-949b2ebd167a5d0080f36adf37c8cd52796c9077.tar.lz UXP-949b2ebd167a5d0080f36adf37c8cd52796c9077.tar.xz UXP-949b2ebd167a5d0080f36adf37c8cd52796c9077.zip |
Remove GCC 4.8 workaround in libopus
This patch removes a workaround when building for ARM platforms using GCC 4.8 (which we no longer support).
Diffstat (limited to 'media/libopus/celt')
-rw-r--r-- | media/libopus/celt/rate.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/media/libopus/celt/rate.c b/media/libopus/celt/rate.c index 29b26c65b..9062ff750 100644 --- a/media/libopus/celt/rate.c +++ b/media/libopus/celt/rate.c @@ -524,12 +524,6 @@ static OPUS_INLINE int interp_bits2pulses(const CELTMode *m, int start, int end, return codedBands; } -#if !defined(__clang__) && defined(__GNUC__) && defined(__arm__) && \ - __GNUC__ == 4 && __GNUC_MINOR__ == 8 -#warning "OPUS library causes an internal compiler error for gcc-4.8 based toolchain in arm" -#pragma GCC push_options -#pragma GCC optimize ("O0") -#endif int compute_allocation(const CELTMode *m, int start, int end, const int *offsets, const int *cap, int alloc_trim, int *intensity, int *dual_stereo, opus_int32 total, opus_int32 *balance, int *pulses, int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int encode, int prev, int signalBandwidth) { @@ -642,7 +636,3 @@ int compute_allocation(const CELTMode *m, int start, int end, const int *offsets RESTORE_STACK; return codedBands; } -#if !defined(__clang__) && defined(__GNUC__) && defined(__arm__) && \ - __GNUC__ == 4 && __GNUC_MINOR__ == 8 -#pragma GCC pop_options -#endif |