diff options
-rw-r--r-- | lib/rbcodec/codecs/libayumi/lzh.c | 8 | ||||
-rw-r--r-- | lib/rbcodec/codecs/libopus/celt/celt_lpc.c | 7 |
2 files changed, 14 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/libayumi/lzh.c b/lib/rbcodec/codecs/libayumi/lzh.c index 786d3bbafe..248a2eddec 100644 --- a/lib/rbcodec/codecs/libayumi/lzh.c +++ b/lib/rbcodec/codecs/libayumi/lzh.c | |||
@@ -209,7 +209,10 @@ int make_table(int nchar, uchar * bitlen, int tablebits, ushort * table) | |||
209 | } | 209 | } |
210 | 210 | ||
211 | /* huf.c */ | 211 | /* huf.c */ |
212 | 212 | #if (__GNUC__ == 14) // XXX nuke later? | |
213 | #pragma GCC diagnostic push | ||
214 | #pragma GCC diagnostic ignored "-Wstringop-overflow" | ||
215 | #endif | ||
213 | void read_pt_len(int nn, int nbit, int i_special) | 216 | void read_pt_len(int nn, int nbit, int i_special) |
214 | { | 217 | { |
215 | int i, n; | 218 | int i, n; |
@@ -247,6 +250,9 @@ void read_pt_len(int nn, int nbit, int i_special) | |||
247 | make_table(nn, pt_len, 8, pt_table); | 250 | make_table(nn, pt_len, 8, pt_table); |
248 | } | 251 | } |
249 | } | 252 | } |
253 | #if (__GNUC__ == 14) | ||
254 | #pragma GCC diagnostic pop | ||
255 | #endif | ||
250 | 256 | ||
251 | void read_c_len(void) | 257 | void read_c_len(void) |
252 | { | 258 | { |
diff --git a/lib/rbcodec/codecs/libopus/celt/celt_lpc.c b/lib/rbcodec/codecs/libopus/celt/celt_lpc.c index 8ecb693ee9..e925966508 100644 --- a/lib/rbcodec/codecs/libopus/celt/celt_lpc.c +++ b/lib/rbcodec/codecs/libopus/celt/celt_lpc.c | |||
@@ -207,6 +207,10 @@ void celt_iir(const opus_val32 *_x, | |||
207 | #endif | 207 | #endif |
208 | } | 208 | } |
209 | 209 | ||
210 | #if (__GNUC__ == 14) // XXX nuke later? | ||
211 | #pragma GCC diagnostic push | ||
212 | #pragma GCC diagnostic ignored "-Wstringop-overflow" | ||
213 | #endif | ||
210 | int _celt_autocorr( | 214 | int _celt_autocorr( |
211 | const opus_val16 *x, /* in: [0...n-1] samples x */ | 215 | const opus_val16 *x, /* in: [0...n-1] samples x */ |
212 | opus_val32 *ac, /* out: [0...lag-1] ac values */ | 216 | opus_val32 *ac, /* out: [0...lag-1] ac values */ |
@@ -294,3 +298,6 @@ int _celt_autocorr( | |||
294 | RESTORE_STACK; | 298 | RESTORE_STACK; |
295 | return shift; | 299 | return shift; |
296 | } | 300 | } |
301 | #if (__GNUC__ == 14) | ||
302 | #pragma GCC diagnostic pop | ||
303 | #endif | ||