On Tue, Oct 13, 2009 at 09:22:43AM +0200, David Coppa wrote:
> On Tue, 13 Oct 2009, Jacob Meuser wrote:
> 
> > On Mon, Oct 12, 2009 at 09:37:21PM -0700, Brian wrote:
> > 
> > this has been discussed before ...
> 
> What about removing the warning? Not the alignment check, just 
> the (meaningless) warning...

as I said before, the ffmpeg devs are touchy about that ...

and it's not really meaningless, although it is misleading.

anyway, libavcodec has had that warning for *YEARS*.


> 
> ciao
> -dav
> 
> 
> $OpenBSD$
> --- libavcodec/dsputil.c.orig Tue Oct 13 08:41:53 2009
> +++ libavcodec/dsputil.c      Tue Oct 13 08:43:07 2009
> @@ -4301,16 +4301,8 @@ int ff_check_alignment(void){
>      DECLARE_ALIGNED_16(int, aligned);
>  
>      if((intptr_t)&aligned & 15){
> -        if(!did_fail){
> -#if HAVE_MMX || HAVE_ALTIVEC
> -            av_log(NULL, AV_LOG_ERROR,
> -                "Compiler did not align stack variables. Libavcodec has been 
> miscompiled\n"
> -                "and may be very slow or crash. This is not a bug in 
> libavcodec,\n"
> -                "but in the compiler. You may try recompiling using gcc >= 
> 4.2.\n"
> -                "Do not report crashes to FFmpeg developers.\n");
> -#endif
> +        if(!did_fail)
>              did_fail=1;
> -        }
>          return -1;
>      }
>      return 0;
> 

-- 
[email protected]
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to