[FFmpeg-devel] [PATCH] aacpsy: avoid norm_fac becoming NaN

Timothy Gu timothygu99 at gmail.com
Thu Apr 16 19:47:50 CEST 2015


On Thu, Apr 16, 2015 at 10:41 AM Claudio Freire <klaussfreire at gmail.com>
wrote:
>
> It should be if band->thr > 0.0f, all divisions by zero return
> something that casts into an ~1:

Isn't division by zero undefined behavior?

Timothy


More information about the ffmpeg-devel mailing list