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/h264qpel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/h264qpel.c') diff --git a/libavcodec/h264qpel.c b/libavcodec/h264qpel.c index 1bf31688f5..24c9299786 100644 --- a/libavcodec/h264qpel.c +++ b/libavcodec/h264qpel.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "h264qpel.h" #define BIT_DEPTH 8 @@ -33,7 +34,7 @@ #include "h264qpel_template.c" #undef BIT_DEPTH -void ff_h264qpel_init(H264QpelContext *c, int bit_depth) +av_cold void ff_h264qpel_init(H264QpelContext *c, int bit_depth) { #undef FUNCC #define FUNCC(f, depth) f ## _ ## depth ## _c -- cgit v1.2.3