aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_amix.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/af_amix.c
parent6fee1b90ce3bf4fbdfde7016e0890057c9000487 (diff)
downloadffmpeg-093804a93cc5da3f95f98265a5df116912443cec.tar.gz
avfilter: Add av_cold attributes to init/uninit functions
Diffstat (limited to 'libavfilter/af_amix.c')
-rw-r--r--libavfilter/af_amix.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c
index 6bc74585c7..2df0507589 100644
--- a/libavfilter/af_amix.c
+++ b/libavfilter/af_amix.c
@@ -28,6 +28,7 @@
* output.
*/
+#include "libavutil/attributes.h"
#include "libavutil/audio_fifo.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
@@ -488,7 +489,7 @@ fail:
return ret;
}
-static int init(AVFilterContext *ctx)
+static av_cold int init(AVFilterContext *ctx)
{
MixContext *s = ctx->priv;
int i;
@@ -510,7 +511,7 @@ static int init(AVFilterContext *ctx)
return 0;
}
-static void uninit(AVFilterContext *ctx)
+static av_cold void uninit(AVFilterContext *ctx)
{
int i;
MixContext *s = ctx->priv;