Quellcode durchsuchen

Fixed for bug 2845. This is a bit of a quick-n-dirty patch.

The assertion looks for extremely small generated values and crash if
found one.
Removing the assertions seems to cause no arm and audio files of various
format play fines.
Moreover the problem seems to have completely disappered in recent
Debian distros, for example it was reproducable in Stretch but no more in
Buster.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro vor 1 Jahr
Ursprung
Commit
5d9981995e
1 geänderte Dateien mit 0 neuen und 1 gelöschten Zeilen
  1. 0
    1
      flow/gsl/gslwaveosc.c

+ 0
- 1
flow/gsl/gslwaveosc.c Datei anzeigen

@@ -219,7 +219,6 @@ gsl_wave_osc_process (GslWaveOscData *wosc,
}
}
g_assert (!GSL_DOUBLE_IS_NANINF (wosc->y[0]));
g_assert (!GSL_DOUBLE_IS_SUBNORMAL (wosc->y[0]));

wosc->done = (wosc->block.is_silent && /* FIXME, let filter state run out? */
((wosc->block.play_dir < 0 && wosc->block.offset < 0) ||

Laden…
Abbrechen
Speichern