[SCM] libav/experimental: 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.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:48:45 UTC 2013


The following commit has been merged in the experimental branch:
commit 4b2be143cd5ab216c6a7ebd8715b732169077e5d
Author: Ramiro Polla <ramiro.polla at gmail.com>
Date:   Thu Jul 9 02:18:29 2009 +0000

    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.
    
    Originally committed as revision 19383 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavutil/internal.h b/libavutil/internal.h
index 0ca2b4d..ccdc545 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list