aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_extractplanes.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-09-27 18:51:49 +0000
committerPaul B Mahol <onemda@gmail.com>2013-09-27 18:51:49 +0000
commitb890198b669d2ab4340a3f15f11249952efd6780 (patch)
treed2f3d539cc9bcebe0bd1c03794e49628179aa8da /libavfilter/vf_extractplanes.c
parentf7bea731d955ec25a726abcd31862d3bd0183d58 (diff)
downloadffmpeg-b890198b669d2ab4340a3f15f11249952efd6780.tar.gz
avfilter: add av_cold to init()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_extractplanes.c')
-rw-r--r--libavfilter/vf_extractplanes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_extractplanes.c b/libavfilter/vf_extractplanes.c
index 52dffccdcb..7c04a781cb 100644
--- a/libavfilter/vf_extractplanes.c
+++ b/libavfilter/vf_extractplanes.c
@@ -251,7 +251,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
return ret;
}
-static int init(AVFilterContext *ctx)
+static av_cold int init(AVFilterContext *ctx)
{
ExtractPlanesContext *e = ctx->priv;
int planes = (e->requested_planes & 0xf) | (e->requested_planes >> 4);
@@ -311,7 +311,7 @@ AVFilter avfilter_vf_extractplanes = {
#if CONFIG_ALPHAEXTRACT_FILTER
-static int init_alphaextract(AVFilterContext *ctx)
+static av_cold int init_alphaextract(AVFilterContext *ctx)
{
ExtractPlanesContext *e = ctx->priv;