diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index eb75a5224fdb9e11db47fbcb3100fcf9494883b0..44946e1a6dd13fb9efc61065f8e6a5b7d8cae14e 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -663,9 +663,6 @@ void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx);
 void dsputil_init_sh4(DSPContext* c, AVCodecContext *avctx);
 void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx);
 
-#define DECLARE_ALIGNED_16(t, v, ...) DECLARE_ALIGNED(16, t, v)
-#define DECLARE_ALIGNED_8(t, v, ...)  DECLARE_ALIGNED(8, t, v)
-
 #if HAVE_MMX
 
 #undef emms_c
diff --git a/libavutil/mem.h b/libavutil/mem.h
index 75beffb39af525db68dd590a8880c99e088afb30..36a2cf1fc40c8e3a25271ce5e6f24fde246a45cb 100644
--- a/libavutil/mem.h
+++ b/libavutil/mem.h
@@ -49,6 +49,8 @@
     #define DECLARE_ASM_CONST(n,t,v)    static const t v
 #endif
 
+#define DECLARE_ALIGNED_16(t, v) DECLARE_ALIGNED(16, t, v)
+#define DECLARE_ALIGNED_8(t, v)  DECLARE_ALIGNED(8, t, v)
 
 #if AV_GCC_VERSION_AT_LEAST(3,1)
     #define av_malloc_attrib __attribute__((__malloc__))