diff --git a/dsp.c b/dsp.c index 1d058e694b7f57daf9cfe477b9a9d3ef689ca9ee..cf3298fc085a17cbcdc252a15ce8665131057e23 100755 --- a/dsp.c +++ b/dsp.c @@ -700,7 +700,8 @@ static int mf_detect (mf_detect_state_t *s, } hit = 0; - sofarsogood=1; + if (best1 != best2) sofarsogood=1; + else sofarsogood=0; /* Check for relative energies */ for (i=0;i<6;i++) { if (i == best1) continue;