diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-18 02:28:35 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-18 02:28:35 +0100 |
commit | e294715aaa4b27f7f577d72c5cd4e606dde6baee (patch) | |
tree | 64bb30a97893247c5df81113c472e37dbeba8650 /libtoolame-dab/encode_new.c | |
parent | deb7d524b6f400950a35ee1538e24239d2cd9874 (diff) | |
download | ODR-AudioEnc-e294715aaa4b27f7f577d72c5cd4e606dde6baee.tar.gz ODR-AudioEnc-e294715aaa4b27f7f577d72c5cd4e606dde6baee.tar.bz2 ODR-AudioEnc-e294715aaa4b27f7f577d72c5cd4e606dde6baee.zip |
Remove warnings about conversion to double in toolame
Diffstat (limited to 'libtoolame-dab/encode_new.c')
-rw-r--r-- | libtoolame-dab/encode_new.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtoolame-dab/encode_new.c b/libtoolame-dab/encode_new.c index a437e70..3ba74c9 100644 --- a/libtoolame-dab/encode_new.c +++ b/libtoolame-dab/encode_new.c @@ -676,13 +676,13 @@ int bits_for_nonoise_new (double SMR[2][SBLIMIT], until we have the required MNR value */ for (ba = 0; ba < maxAlloc - 1; ++ba) { int thisstep_index = step_index[thisline][ba]; - if ((SNR[thisstep_index] - SMR[ch][sb]) >= min_mnr) + if ((SNR[thisstep_index] - SMR[ch][sb]) >= (double)min_mnr) break; /* we found enough bits */ } if (nch == 2 && sb >= jsbound) /* check other JS channel */ for (; ba < maxAlloc - 1; ++ba) { int thisstep_index = step_index[thisline][ba]; - if ((SNR[thisstep_index] - SMR[1-ch][sb]) >= min_mnr) + if ((SNR[thisstep_index] - SMR[1-ch][sb]) >= (double)min_mnr) break; } if (ba > 0) { |