diff options
author | Zhong Li <zhong.li@intel.com> | 2019-05-31 08:44:49 +0800 |
---|---|---|
committer | Zhong Li <zhong.li@intel.com> | 2019-06-03 05:39:06 +0800 |
commit | 165eabf19bf21d235e1b5254314ba2ba5c627454 (patch) | |
tree | 2e9f70cc368d535595527485140d0ed960e4d0e5 /libavfilter/vf_scale_qsv.c | |
parent | 94ceeba9f991ab69b192fa8527be0965de7e254b (diff) | |
download | ffmpeg-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |