aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_asyncts.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_asyncts.c
parent6fee1b90ce3bf4fbdfde7016e0890057c9000487 (diff)
downloadffmpeg-093804a93cc5da3f95f98265a5df116912443cec.tar.gz
avfilter: Add av_cold attributes to init/uninit functions
Diffstat (limited to 'libavfilter/af_asyncts.c')
-rw-r--r--libavfilter/af_asyncts.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavfilter/af_asyncts.c b/libavfilter/af_asyncts.c
index ad4e3d733b..a76415b916 100644
--- a/libavfilter/af_asyncts.c
+++ b/libavfilter/af_asyncts.c
@@ -17,6 +17,7 @@
*/
#include "libavresample/avresample.h"
+#include "libavutil/attributes.h"
#include "libavutil/audio_fifo.h"
#include "libavutil/common.h"
#include "libavutil/mathematics.h"
@@ -64,7 +65,7 @@ static const AVClass async_class = {
.version = LIBAVUTIL_VERSION_INT,
};
-static int init(AVFilterContext *ctx)
+static av_cold int init(AVFilterContext *ctx)
{
ASyncContext *s = ctx->priv;
@@ -74,7 +75,7 @@ static int init(AVFilterContext *ctx)
return 0;
}
-static void uninit(AVFilterContext *ctx)
+static av_cold void uninit(AVFilterContext *ctx)
{
ASyncContext *s = ctx->priv;