mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
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:
parent
06de593303
commit
a822e70bec
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user