summaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_lut.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-04-30 18:30:02 +0200
committerDiego Biurrun <diego@biurrun.de>2013-05-04 21:10:05 +0200
commit093804a93cc5da3f95f98265a5df116912443cec (patch)
tree11b7e05cdc96034ab6068b3b0890759eaa4afe5b /libavfilter/vf_lut.c
parent6fee1b90ce3bf4fbdfde7016e0890057c9000487 (diff)
downloadffmpeg-streaming-093804a93cc5da3f95f98265a5df116912443cec.zip
ffmpeg-streaming-093804a93cc5da3f95f98265a5df116912443cec.tar.gz
avfilter: Add av_cold attributes to init/uninit functions
Diffstat (limited to 'libavfilter/vf_lut.c')
-rw-r--r--libavfilter/vf_lut.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c
index 7da8f3b..87c028a 100644
--- a/libavfilter/vf_lut.c
+++ b/libavfilter/vf_lut.c
@@ -24,6 +24,7 @@
* value, and apply it to input video.
*/
+#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/eval.h"
#include "libavutil/mathematics.h"
@@ -101,7 +102,7 @@ static const AVOption lut_options[] = {
{ NULL },
};
-static int init(AVFilterContext *ctx)
+static av_cold int init(AVFilterContext *ctx)
{
LutContext *lut = ctx->priv;
@@ -385,7 +386,7 @@ static const AVOption negate_options[] = {
{ NULL },
};
-static int negate_init(AVFilterContext *ctx)
+static av_cold int negate_init(AVFilterContext *ctx)
{
LutContext *lut = ctx->priv;
int i;
OpenPOWER on IntegriCloud