From e445647b4fdf481b13b2743b303d84de4f43bedd Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 30 Apr 2013 18:30:48 +0200 Subject: avresample: Add av_cold attributes to init functions missing them --- libavresample/dither.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libavresample/dither.c') diff --git a/libavresample/dither.c b/libavresample/dither.c index f24bf5c765..17de8291ea 100644 --- a/libavresample/dither.c +++ b/libavresample/dither.c @@ -31,6 +31,7 @@ #include #include +#include "libavutil/attributes.h" #include "libavutil/common.h" #include "libavutil/lfg.h" #include "libavutil/mem.h" @@ -325,8 +326,8 @@ void ff_dither_free(DitherContext **cp) av_freep(cp); } -static void dither_init(DitherDSPContext *ddsp, - enum AVResampleDitherMethod method) +static av_cold void dither_init(DitherDSPContext *ddsp, + enum AVResampleDitherMethod method) { ddsp->quantize = quantize_c; ddsp->ptr_align = 1; -- cgit v1.2.3