comparison dsputil.c @ 4282:9d64f6eacc7b libavcodec

better warning
author michael
date Thu, 07 Dec 2006 18:35:58 +0000
parents de525a2b41db
children a26b5096dbb0
comparison
equal deleted inserted replaced
4281:de525a2b41db 4282:9d64f6eacc7b
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, your code has been misscompiled\n" 3812 "Compiler did not align stack variables, libavcodec has been misscompiled\n"
3813 "and may crash, this is not a bug in the application but in the compiler\n" 3813 "and will possible be very slow or may crash, this is not a bug in the\n"
3814 "application but in the compiler\n"
3814 "so reporting it anywhere but to the compiler maintainers is senseless!\n"); 3815 "so reporting it anywhere but to the compiler maintainers is senseless!\n");
3815 #endif 3816 #endif
3816 did_fail=1; 3817 did_fail=1;
3817 } 3818 }
3818 return -1; 3819 return -1;