[MPlayer-dev-eng] [PATCH] -fno-strict-aliasing on gcc > 3

Uoti A Urpala urpala at cc.helsinki.fi
Wed Jul 13 23:45:15 CEST 2005


Reimar Döffinger wrote:
> So IMHO this means we have the choice between using -fno-strict-aliasing
> or finding somebody to fix mp3lib, libmpeg2 and libfaad2.

How are those broken with strict-aliasing? Are the problems
reproducible using gcc 4.0.1? If I can reproduce the problems I could
try fixing them. The files I tested with which used those libraries
worked fine.

libfaad2/ic_predict.c has obviously unsafe code, but I didn't hear
errors in AAC audio even without fixing that (found it by compiler
warnings).




More information about the MPlayer-dev-eng mailing list