소스 검색

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>
Michele Calgaro 9 달 전
부모
커밋
5d9981995e
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0
    1
      flow/gsl/gslwaveosc.c

+ 0
- 1
flow/gsl/gslwaveosc.c 파일 보기

@@ -219,7 +219,6 @@ gsl_wave_osc_process (GslWaveOscData *wosc,
219 219
 	}
220 220
     }
221 221
   g_assert (!GSL_DOUBLE_IS_NANINF (wosc->y[0]));
222
-  g_assert (!GSL_DOUBLE_IS_SUBNORMAL (wosc->y[0]));
223 222
 
224 223
   wosc->done = (wosc->block.is_silent &&   /* FIXME, let filter state run out? */
225 224
 		((wosc->block.play_dir < 0 && wosc->block.offset < 0) ||

Loading…
취소
저장