On Thu, Apr 16, 2015 at 3:19 PM, Andreas Cadhalpun <andreas.cadhal...@googlemail.com> wrote: > On 16.04.2015 19:41, Claudio Freire wrote: >> It should be if band->thr > 0.0f, all divisions by zero return >> something that casts into an ~1: > > OK, new patch attached. > > If band->thr is 0.0f and band->active_lines is not, it takes > a bit longer to get to NaN. > I assume band->thr < 0.0f is not possible?
It's not, it's an absolute energy threshold. LGTM now. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel