[FFmpeg-devel] [PATCH] aacpsy: avoid norm_fac becoming NaN
Michael Niedermayer
michaelni at gmx.at
Thu Apr 16 20:12:54 CEST 2015
On Thu, Apr 16, 2015 at 05:47:50PM +0000, Timothy Gu wrote:
> 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?
for floats its defined by IEEE754 if the implementation supports that
if iam not mistaken
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The educated differ from the uneducated as much as the living from the
dead. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150416/67760c8d/attachment.asc>
More information about the ffmpeg-devel
mailing list