libavfilter/vf_vpp_qsv: fix uninitialized variable problem

This two variables may be used below with uninitialized value.
Now fix them.

Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Reviewed-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Soft Works <softworkz@hotmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
Wenbin Chen 2021-09-15 13:15:18 +08:00 committed by James Almer
parent 06de593303
commit a822e70bec
1 changed files with 2 additions and 2 deletions

View File

@ -501,8 +501,8 @@ static int activate(AVFilterContext *ctx)
VPPContext *s =ctx->priv;
QSVVPPContext *qsv = s->qsv;
AVFrame *in = NULL;
int ret, status;
int64_t pts;
int ret, status = 0;
int64_t pts = AV_NOPTS_VALUE;
FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);