From f7813a5324be39d13ab536c245d15dfc602a7849 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sun, 29 Dec 2013 12:19:38 +0000 Subject: basic type mechanism working --- ffmpeg/libavcodec/alpha/hpeldsp_alpha.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ffmpeg/libavcodec/alpha/hpeldsp_alpha.c') diff --git a/ffmpeg/libavcodec/alpha/hpeldsp_alpha.c b/ffmpeg/libavcodec/alpha/hpeldsp_alpha.c index 9a092f5..8d54807 100644 --- a/ffmpeg/libavcodec/alpha/hpeldsp_alpha.c +++ b/ffmpeg/libavcodec/alpha/hpeldsp_alpha.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavcodec/hpeldsp.h" #include "hpeldsp_alpha.h" #include "asm.h" @@ -173,7 +174,7 @@ static void put_pixels16_axp_asm(uint8_t *block, const uint8_t *pixels, put_pixels_axp_asm(block + 8, pixels + 8, line_size, h); } -void ff_hpeldsp_init_alpha(HpelDSPContext* c, int flags) +av_cold void ff_hpeldsp_init_alpha(HpelDSPContext *c, int flags) { c->put_pixels_tab[0][0] = put_pixels16_axp_asm; c->put_pixels_tab[0][1] = put_pixels16_x2_axp; -- cgit v1.2.3