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

Vincent Penné vpenne
Wed Jan 2 14:45:51 CET 2008


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.

-- 
Vincent Penne.

----
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.  

Ce message contient des informations confidentielles.  S'il vous est parvenu par erreur, merci de bien vouloir nous en aviser par retour, de n'en faire aucun usage et de n'en garder aucune copie.
----




More information about the ffmpeg-devel mailing list