comparison dsputil.c @ 4292:a26b5096dbb0 libavcodec

improved stack misalignment warning
author mru
date Mon, 11 Dec 2006 09:19:58 +0000
parents 9d64f6eacc7b
children 4bfaef73d6ed
comparison
equal deleted inserted replaced
4291:0c090df061f8 4292:a26b5096dbb0
3807 3807
3808 if((int)&aligned & 15){ 3808 if((int)&aligned & 15){
3809 if(!did_fail){ 3809 if(!did_fail){
3810 #if defined(HAVE_MMX) || defined(HAVE_ALTIVEC) 3810 #if defined(HAVE_MMX) || defined(HAVE_ALTIVEC)
3811 av_log(NULL, AV_LOG_ERROR, 3811 av_log(NULL, AV_LOG_ERROR,
3812 "Compiler did not align stack variables, libavcodec has been misscompiled\n" 3812 "Compiler did not align stack variables. Libavcodec has been miscompiled\n"
3813 "and will possible be very slow or may crash, this is not a bug in the\n" 3813 "and may be very slow or crash. This is not a bug in libavcodec,\n"
3814 "application but in the compiler\n" 3814 "but in the compiler. Do not report crashes to FFmpeg developers.\n");
3815 "so reporting it anywhere but to the compiler maintainers is senseless!\n");
3816 #endif 3815 #endif
3817 did_fail=1; 3816 did_fail=1;
3818 } 3817 }
3819 return -1; 3818 return -1;
3820 } 3819 }