diff options
author | Zhong Li <zhong.li@intel.com> | 2019-05-31 03:44:49 +0300 |
---|---|---|
committer | Zhong Li <zhong.li@intel.com> | 2019-06-03 00:39:06 +0300 |
commit | 165eabf19bf21d235e1b5254314ba2ba5c627454 (patch) | |
tree | 2e9f70cc368d535595527485140d0ed960e4d0e5 /libavfilter | |
parent | 94ceeba9f991ab69b192fa8527be0965de7e254b (diff) |
lavf/qsv: use av_cold for init/uninit
Signed-off-by: Zhong Li <zhong.li@intel.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_deinterlace_qsv.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_overlay_qsv.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_scale_qsv.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/vf_deinterlace_qsv.c b/libavfilter/vf_deinterlace_qsv.c index bee10c220f..80217c8419 100644 --- a/libavfilter/vf_deinterlace_qsv.c +++ b/libavfilter/vf_deinterlace_qsv.c @@ -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; diff --git a/libavfilter/vf_overlay_qsv.c b/libavfilter/vf_overlay_qsv.c index 9aabb594ba..2a4dc5cb58 100644 --- a/libavfilter/vf_overlay_qsv.c +++ b/libavfilter/vf_overlay_qsv.c @@ -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; diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c index 7d593b2b21..db7715fc1b 100644 --- a/libavfilter/vf_scale_qsv.c +++ b/libavfilter/vf_scale_qsv.c @@ -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; |