From 9103185bd116930f90b847090e66a64fa9971ce2 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 27 Jan 2014 18:37:40 +0100 Subject: dsputil: Drop ff_check_alignment() function The function is supposed to confirm that the compiler provided enough alignment, but in practice it is only run in certain code paths and insufficient alignment problems are restricted to legacy compilers. --- libavcodec/dsputil.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavcodec/dsputil.h') diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index b914fb1bdb..46aa8aa8d6 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -293,8 +293,6 @@ typedef struct DSPContext { void ff_dsputil_static_init(void); void ff_dsputil_init(DSPContext* p, AVCodecContext *avctx); -int ff_check_alignment(void); - void ff_set_cmp(DSPContext* c, me_cmp_func *cmp, int type); void ff_dsputil_init_arm(DSPContext* c, AVCodecContext *avctx); -- cgit v1.2.3