aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/asm-offsets.h
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2014-04-23 12:19:59 +0200
committerJanne Grunau <janne-libav@jannau.net>2014-04-24 18:28:26 +0200
commita88e1d1c598e641eecd5d43730211d91c82787c6 (patch)
tree97659e4d9e5679c7c8cc2703bec2cc6b08e9765e /libavcodec/arm/asm-offsets.h
parent152b797cd687e96a582a1cb908dddf3d330d7637 (diff)
downloadffmpeg-a88e1d1c598e641eecd5d43730211d91c82787c6.tar.gz
lavu: add CHK_OFFS as AV_CHECK_OFFSET to check struct member offsets
Diffstat (limited to 'libavcodec/arm/asm-offsets.h')
-rw-r--r--libavcodec/arm/asm-offsets.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/arm/asm-offsets.h b/libavcodec/arm/asm-offsets.h
index 89994569c1..fdc33ce41a 100644
--- a/libavcodec/arm/asm-offsets.h
+++ b/libavcodec/arm/asm-offsets.h
@@ -21,13 +21,6 @@
#ifndef AVCODEC_ARM_ASM_OFFSETS_H
#define AVCODEC_ARM_ASM_OFFSETS_H
-#ifndef __ASSEMBLER__
-#include <stddef.h>
-#define CHK_OFFS(s, m, o) struct check_##o { \
- int x_##o[offsetof(s, m) == o? 1: -1]; \
- }
-#endif
-
/* MpegEncContext */
#define Y_DC_SCALE 0xa8
#define C_DC_SCALE 0xac