mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue