ffmpeg | branch: master | Wenbin Chen <[email protected]> | Wed Sep 15 13:15:18 2021 +0800| [a822e70becdec99363d1995a4fa44d3500d22c03] | committer: James Almer
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 <[email protected]> Reviewed-by: Xiang, Haihao <[email protected]> Reviewed-by: Soft Works <[email protected]> Signed-off-by: James Almer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a822e70becdec99363d1995a4fa44d3500d22c03 --- libavfilter/vf_vpp_qsv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c index c268b5dba8..22ffe0d7f3 100644 --- a/libavfilter/vf_vpp_qsv.c +++ b/libavfilter/vf_vpp_qsv.c @@ -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); _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
