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/videodsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ffmpeg/libavcodec/videodsp.c') diff --git a/ffmpeg/libavcodec/videodsp.c b/ffmpeg/libavcodec/videodsp.c index f91bac3..13e4a7b 100644 --- a/ffmpeg/libavcodec/videodsp.c +++ b/ffmpeg/libavcodec/videodsp.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/avassert.h" #include "libavutil/common.h" #include "videodsp.h" @@ -34,7 +35,7 @@ static void just_return(uint8_t *buf, ptrdiff_t stride, int h) { } -void ff_videodsp_init(VideoDSPContext *ctx, int bpc) +av_cold void ff_videodsp_init(VideoDSPContext *ctx, int bpc) { ctx->prefetch = just_return; if (bpc <= 8) { -- cgit v1.2.3