diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-04-30 18:30:02 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-05-04 21:10:05 +0200 |
commit | 093804a93cc5da3f95f98265a5df116912443cec (patch) | |
tree | 11b7e05cdc96034ab6068b3b0890759eaa4afe5b /libavfilter/vf_hqdn3d.c | |
parent | 6fee1b90ce3bf4fbdfde7016e0890057c9000487 (diff) | |
download | ffmpeg-093804a93cc5da3f95f98265a5df116912443cec.tar.gz |
avfilter: Add av_cold attributes to init/uninit functions
Diffstat (limited to 'libavfilter/vf_hqdn3d.c')
-rw-r--r-- | libavfilter/vf_hqdn3d.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c index 6f67bb0c6f..d60219a451 100644 --- a/libavfilter/vf_hqdn3d.c +++ b/libavfilter/vf_hqdn3d.c @@ -29,6 +29,7 @@ #include <float.h> #include "config.h" +#include "libavutil/attributes.h" #include "libavutil/common.h" #include "libavutil/pixdesc.h" #include "libavutil/intreadwrite.h" @@ -181,7 +182,7 @@ static int16_t *precalc_coefs(double dist25, int depth) #define PARAM2_DEFAULT 3.0 #define PARAM3_DEFAULT 6.0 -static int init(AVFilterContext *ctx) +static av_cold int init(AVFilterContext *ctx) { HQDN3DContext *hqdn3d = ctx->priv; @@ -201,7 +202,7 @@ static int init(AVFilterContext *ctx) return 0; } -static void uninit(AVFilterContext *ctx) +static av_cold void uninit(AVFilterContext *ctx) { HQDN3DContext *hqdn3d = ctx->priv; |