]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/mem.h
opus_rc: rename total_bits_used to total_bits and #define some constants
[ffmpeg] / libavutil / mem.h
index f9d8884788194998897b38123735fe561edc1934..718a143c4c64e267bcf8f205d4648986b7ae6b9e 100644 (file)
@@ -97,7 +97,7 @@
     #define DECLARE_ASM_CONST(n,t,v)                    \
         AV_PRAGMA(DATA_ALIGN(v,n))                      \
         static const t __attribute__((aligned(n))) v
-#elif defined(__GNUC__)
+#elif defined(__GNUC__) || defined(__clang__)
     #define DECLARE_ALIGNED(n,t,v)      t __attribute__ ((aligned (n))) v
     #define DECLARE_ASM_CONST(n,t,v)    static const t av_used __attribute__ ((aligned (n))) v
 #elif defined(_MSC_VER)