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/ffv1enc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/ffv1enc.c') diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index 34191b7d84..b7a2b22e1e 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -25,6 +25,7 @@ * FF Video Codec 1 (a lossless codec) encoder */ +#include "libavutil/attributes.h" #include "libavutil/avassert.h" #include "libavutil/pixdesc.h" #include "libavutil/crc.h" @@ -544,7 +545,7 @@ static int sort_stt(FFV1Context *s, uint8_t stt[256]) return print; } -static int init_slices_state(FFV1Context *f) +static av_cold int init_slices_state(FFV1Context *f) { int i, ret; for (i = 0; i < f->slice_count; i++) { -- cgit v1.2.3