[FFmpeg-cvslog] r19383 - trunk/libavutil/internal.h

ramiro subversion
Thu Jul 9 04:18:29 CEST 2009


Author: ramiro
Date: Thu Jul  9 04:18:29 2009
New Revision: 19383

Log:
Do not throw compiler error if asm code needs alignment, but we do not know
how to do it for this compiler. This removes a dependency of config.h on the
DECLARE_* macros.

Modified:
   trunk/libavutil/internal.h

Modified: trunk/libavutil/internal.h
==============================================================================
--- trunk/libavutil/internal.h	Thu Jul  9 01:14:47 2009	(r19382)
+++ trunk/libavutil/internal.h	Thu Jul  9 04:18:29 2009	(r19383)
@@ -267,8 +267,6 @@ if((y)<(x)){\
 #elif defined(_MSC_VER)
     #define DECLARE_ALIGNED(n,t,v)      __declspec(align(n)) t v
     #define DECLARE_ASM_CONST(n,t,v)    __declspec(align(n)) static const t v
-#elif HAVE_INLINE_ASM
-    #error The asm code needs alignment, but we do not know how to do it for this compiler.
 #else
     #define DECLARE_ALIGNED(n,t,v)      t v
     #define DECLARE_ASM_CONST(n,t,v)    static const t v



More information about the ffmpeg-cvslog mailing list