mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 13:10:37 +00:00
lavf/qsv: use av_cold for init/uninit
Signed-off-by: Zhong Li <zhong.li@intel.com>
This commit is contained in:
parent
94ceeba9f9
commit
165eabf19b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user