This two variables may be used below with uninitialized value. Now fix them.
Unified · Split
| @@ -501,8 +501,8 @@ static int activate(AVFilterContext *ctx) · 500 unmodified lines | ||
| 501 | 501 | VPPContext *s =ctx->priv; |
| 502 | 502 | QSVVPPContext *qsv = s->qsv; |
| 503 | 503 | AVFrame *in = NULL; |
| 504 | − int ret, status; | |
| 505 | − int64_t pts; | |
| 504 | + int ret, status = 0; | |
| 505 | + int64_t pts = AV_NOPTS_VALUE; | |
| 506 | 506 | |
| 507 | 507 | FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink); |
| 508 | 508 | |