Commit 165eabf1 authored by Zhong Li's avatar Zhong Li

lavf/qsv: use av_cold for init/uninit

Signed-off-by: 's avatarZhong Li <zhong.li@intel.com>
parent 94ceeba9
......@@ -83,7 +83,7 @@ typedef struct QSVDeintContext {
int mode;
} QSVDeintContext;
static void qsvdeint_uninit(AVFilterContext *ctx)
static av_cold void qsvdeint_uninit(AVFilterContext *ctx)
{
QSVDeintContext *s = ctx->priv;
QSVFrame *cur;
......
......@@ -345,7 +345,7 @@ static int overlay_qsv_init(AVFilterContext *ctx)
return 0;
}
static void overlay_qsv_uninit(AVFilterContext *ctx)
static av_cold void overlay_qsv_uninit(AVFilterContext *ctx)
{
QSVOverlayContext *vpp = ctx->priv;
......
......@@ -109,7 +109,7 @@ typedef struct QSVScaleContext {
char *format_str;
} QSVScaleContext;
static int qsvscale_init(AVFilterContext *ctx)
static av_cold int qsvscale_init(AVFilterContext *ctx)
{
QSVScaleContext *s = ctx->priv;
......@@ -126,7 +126,7 @@ static int qsvscale_init(AVFilterContext *ctx)
return 0;
}
static void qsvscale_uninit(AVFilterContext *ctx)
static av_cold void qsvscale_uninit(AVFilterContext *ctx)
{
QSVScaleContext *s = ctx->priv;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment