[FFmpeg-devel] AAC-Main (round 2)

Måns Rullgård mans
Thu Nov 20 11:25:51 CET 2008


Michael Niedermayer wrote:
> On Wed, Nov 19, 2008 at 01:42:55PM -0500, Alex Converse wrote:
> [...]
>> diff --git a/libavcodec/aac.c b/libavcodec/aac.c
>> index 1ad0a58..9fb242b 100644
>> --- a/libavcodec/aac.c
>> +++ b/libavcodec/aac.c
>> @@ -91,6 +91,11 @@
>>  #include <math.h>
>>  #include <string.h>
>>
>> +#ifdef ARCH_X86
>> +#define USE_754_PUNS
>> +union float754 { float f; uint32_t i; };
>> +#endif
>
> The correctness of the USE_754_PUNS code could be tested by configure

Not easily.  The best we could do is set it based on architecture.
Still, that's obviously better than listing the IEEE754-using
architectures here and every other place that might want it.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list