diff --git a/include/opus/OpenMPT.txt b/include/opus/OpenMPT.txt index c708c99e838..5118f9e969b 100644 --- a/include/opus/OpenMPT.txt +++ b/include/opus/OpenMPT.txt @@ -3,6 +3,7 @@ The following changes have been made: * Obviously, unnecessary folders and files have been removed. * celt/x86/vq_sse2.c has been modified to check for OPUS_X86_MAY_HAVE_SSE2. * celt/x86/x86_arch_macros.c has been modified to support AVX and AVX2. + * A warning in dnn/dred_encoder.c has been silenced. * Performance warning in dnn/nnet.c has been silenced. * Performance warning in dnn/nnet.h has been silenced. * dnn/nnet_avx2.c has been modified to check for diff --git a/include/opus/dnn/dred_encoder.c b/include/opus/dnn/dred_encoder.c index edb49cc2c60..68eee85906f 100644 --- a/include/opus/dnn/dred_encoder.c +++ b/include/opus/dnn/dred_encoder.c @@ -133,7 +133,11 @@ static void dred_convert_to_16k(DREDEnc *enc, const float *in, int in_len, float { float downmix[MAX_DOWNMIX_BUFFER]; int i; +#if 0 /* OpenMPT */ int up; +#else /* OpenMPT */ + int up=0; /* OpenMPT */ +#endif /* OpenMPT */ celt_assert(enc->channels*in_len <= MAX_DOWNMIX_BUFFER); celt_assert(in_len * (opus_int32)16000 == out_len * enc->Fs); switch(enc->Fs) {