From 6fee1b90ce3bf4fbdfde7016e0890057c9000487 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 1 Feb 2013 10:31:59 +0100 Subject: avcodec: Add av_cold attributes to init functions missing them --- libavcodec/videodsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/videodsp.c') diff --git a/libavcodec/videodsp.c b/libavcodec/videodsp.c index d14b0a13f1..a6a1d3753a 100644 --- a/libavcodec/videodsp.c +++ b/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/common.h" #include "videodsp.h" @@ -33,7 +34,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