improved stack misalignment warning

Originally committed as revision 7275 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2006-12-11 09:19:58 +00:00
parent d0c2abb1d0
commit c1173617ce

View File

@ -3809,10 +3809,9 @@ int ff_check_alignment(void){
if(!did_fail){ if(!did_fail){
#if defined(HAVE_MMX) || defined(HAVE_ALTIVEC) #if defined(HAVE_MMX) || defined(HAVE_ALTIVEC)
av_log(NULL, AV_LOG_ERROR, av_log(NULL, AV_LOG_ERROR,
"Compiler did not align stack variables, libavcodec has been misscompiled\n" "Compiler did not align stack variables. Libavcodec has been miscompiled\n"
"and will possible be very slow or may crash, this is not a bug in the\n" "and may be very slow or crash. This is not a bug in libavcodec,\n"
"application but in the compiler\n" "but in the compiler. Do not report crashes to FFmpeg developers.\n");
"so reporting it anywhere but to the compiler maintainers is senseless!\n");
#endif #endif
did_fail=1; did_fail=1;
} }