summaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_scale_qsv.c
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2019-05-31 08:44:49 +0800
committerZhong Li <zhong.li@intel.com>2019-06-03 05:39:06 +0800
commit165eabf19bf21d235e1b5254314ba2ba5c627454 (patch)
tree2e9f70cc368d535595527485140d0ed960e4d0e5 /libavfilter/vf_scale_qsv.c
parent94ceeba9f991ab69b192fa8527be0965de7e254b (diff)
downloadffmpeg-streaming-165eabf19bf21d235e1b5254314ba2ba5c627454.zip
ffmpeg-streaming-165eabf19bf21d235e1b5254314ba2ba5c627454.tar.gz
lavf/qsv: use av_cold for init/uninit
Signed-off-by: Zhong Li <zhong.li@intel.com>
Diffstat (limited to 'libavfilter/vf_scale_qsv.c')
-rw-r--r--libavfilter/vf_scale_qsv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c
index 7d593b2..db7715f 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;
OpenPOWER on IntegriCloud