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/ffv1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/ffv1.c') diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 81c684c2fe..378b55b236 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -25,6 +25,7 @@ * FF Video Codec 1 (a lossless codec) */ +#include "libavutil/attributes.h" #include "libavutil/avassert.h" #include "avcodec.h" #include "get_bits.h" @@ -130,7 +131,7 @@ const uint8_t ffv1_ver2_state[256] = { }; -int ffv1_common_init(AVCodecContext *avctx) +av_cold int ffv1_common_init(AVCodecContext *avctx) { FFV1Context *s = avctx->priv_data; -- cgit v1.2.3