aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/asm-offsets.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-25 00:55:00 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-25 00:55:40 +0200
commit06e664366a66a373358aacacde8e86348d55bd22 (patch)
tree420f5a64cc848964341ab5e9358634d9c5ef3e29 /libavcodec/arm/asm-offsets.h
parent5ac10d40fb9b65e476d1d591a892e0ff51cda6d5 (diff)
parenta88e1d1c598e641eecd5d43730211d91c82787c6 (diff)
downloadffmpeg-06e664366a66a373358aacacde8e86348d55bd22.tar.gz
Merge commit 'a88e1d1c598e641eecd5d43730211d91c82787c6'
* commit 'a88e1d1c598e641eecd5d43730211d91c82787c6': lavu: add CHK_OFFS as AV_CHECK_OFFSET to check struct member offsets Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 5cfc5cb10c..37a67975fd 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