On Thu, Sep 19, 2013 at 3:28 PM, Janne Grunau <janne-li...@jannau.net> wrote:
> configure enables memalign hack if none of the aligned allocation
> methods are available.
> ---
>  libavutil/mem.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/libavutil/mem.c b/libavutil/mem.c
> index 172180e..4d7fcf9 100644
> --- a/libavutil/mem.c
> +++ b/libavutil/mem.c
> @@ -105,10 +105,7 @@ void *av_malloc(size_t size)
>       * memalign(64) + 32         2546, 2545, 2571
>       * memalign(64) + 64         2570, 2533, 2558
>       *
> -     * BTW, malloc seems to do 8-byte alignment by default here.
>       */
> -#else
> -    ptr = malloc(size);
>  #endif
>      return ptr;
>  }
> --
> 1.8.3.2
>

Maybe a #error sanity check instead, to make sure its not screwed up
at some point?
Although it would fail every single test then anyway, so shrug, feel
free to ignore me =)
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to