diff options
author | Janne Grunau <janne-libav@jannau.net> | 2014-04-23 14:19:59 +0400 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2014-04-24 20:28:26 +0400 |
commit | a88e1d1c598e641eecd5d43730211d91c82787c6 (patch) | |
tree | 97659e4d9e5679c7c8cc2703bec2cc6b08e9765e /libavcodec/arm/mpegvideo_arm.c | |
parent | 152b797cd687e96a582a1cb908dddf3d330d7637 (diff) |
lavu: add CHK_OFFS as AV_CHECK_OFFSET to check struct member offsets
Diffstat (limited to 'libavcodec/arm/mpegvideo_arm.c')
-rw-r--r-- | libavcodec/arm/mpegvideo_arm.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libavcodec/arm/mpegvideo_arm.c b/libavcodec/arm/mpegvideo_arm.c index 0c046887ef..7567127078 100644 --- a/libavcodec/arm/mpegvideo_arm.c +++ b/libavcodec/arm/mpegvideo_arm.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/internal.h" #include "libavutil/arm/cpu.h" #include "libavcodec/avcodec.h" #include "libavcodec/mpegvideo.h" @@ -25,12 +26,13 @@ #include "asm-offsets.h" #if HAVE_NEON -CHK_OFFS(MpegEncContext, y_dc_scale, Y_DC_SCALE); -CHK_OFFS(MpegEncContext, c_dc_scale, C_DC_SCALE); -CHK_OFFS(MpegEncContext, ac_pred, AC_PRED); -CHK_OFFS(MpegEncContext, block_last_index, BLOCK_LAST_INDEX); -CHK_OFFS(MpegEncContext, inter_scantable.raster_end, INTER_SCANTAB_RASTER_END); -CHK_OFFS(MpegEncContext, h263_aic, H263_AIC); +AV_CHECK_OFFSET(MpegEncContext, y_dc_scale, Y_DC_SCALE); +AV_CHECK_OFFSET(MpegEncContext, c_dc_scale, C_DC_SCALE); +AV_CHECK_OFFSET(MpegEncContext, ac_pred, AC_PRED); +AV_CHECK_OFFSET(MpegEncContext, block_last_index, BLOCK_LAST_INDEX); +AV_CHECK_OFFSET(MpegEncContext, inter_scantable.raster_end, + INTER_SCANTAB_RASTER_END); +AV_CHECK_OFFSET(MpegEncContext, h263_aic, H263_AIC); #endif void ff_dct_unquantize_h263_inter_neon(MpegEncContext *s, int16_t *block, |