[FFmpeg-devel] vorbis_dec.c on sh4 architecture : floating point exception

Diego Biurrun diego
Wed Jan 2 19:16:08 CET 2008

On Wed, Jan 02, 2008 at 02:45:51PM +0100, Vincent Penn? wrote:
> We are trying the vorbis decoder on SH4 architecture. It raises randomly 
> some  floating point exceptions.
> It appears that some floating point arrays aren't initialized to any 
> specific value at allocation time in "vorbis_parse_id_hdr" function, 
> introducing random and possibly invalid floating point values. 
> (apparently , sh4 is a bit touchy with invalid floating values)
> Turning the av_malloc calls into av_mallocz calls fixes the problem. As 
> it is initialisation code, there should be no impact on performance.

Patches welcome.

> ----
> This message contains confidential information and may contain information that is legally privileged.  If you have received this message by mistake, please immediately notify us and delete the original message. Thank you.  

Please leave out this crap when posting to a public mailing list, it's


More information about the ffmpeg-devel mailing list