[FFmpeg-cvslog] avutil/mem: Add DECLARE_ASM_ALIGNED macro for DJGPP architecture.
Thomas Köppe
git at videolan.org
Sat Dec 2 20:15:26 EET 2017
ffmpeg | branch: master | Thomas Köppe <tkoeppe-at-google.com at ffmpeg.org> | Tue Nov 14 18:26:49 2017 +0000| [53c492640c6b4690715793372454194379093d21] | committer: Michael Niedermayer
avutil/mem: Add DECLARE_ASM_ALIGNED macro for DJGPP architecture.
The macro was added in 43171a2a738f5114768d34a7278e56e5fde714bc, but I forgot to add it to the DJGPP architecture in that change.
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=53c492640c6b4690715793372454194379093d21
---
libavutil/mem.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavutil/mem.h b/libavutil/mem.h
index 9e344bd2c3..7e0b12a8a7 100644
--- a/libavutil/mem.h
+++ b/libavutil/mem.h
@@ -106,6 +106,7 @@
#define DECLARE_ASM_CONST(n,t,v) const t __attribute__ ((aligned (n))) v
#elif defined(__DJGPP__)
#define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (FFMIN(n, 16)))) v
+ #define DECLARE_ASM_ALIGNED(n,t,v) t av_used __attribute__ ((aligned (FFMIN(n, 16)))) v
#define DECLARE_ASM_CONST(n,t,v) static const t av_used __attribute__ ((aligned (FFMIN(n, 16)))) v
#elif defined(__GNUC__) || defined(__clang__)
#define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v
More information about the ffmpeg-cvslog
mailing list