avfilter/vf_fieldmatch: initialize dst pointer to silence warning

This commit is contained in:
Paul B Mahol 2021-09-11 22:13:21 +02:00
parent bf0f996c12
commit 3e127b595a
1 changed files with 1 additions and 1 deletions

View File

@ -682,7 +682,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
int order, field, i, match, sc = 0, ret = 0; int order, field, i, match, sc = 0, ret = 0;
const int *fxo; const int *fxo;
AVFrame *gen_frames[] = { NULL, NULL, NULL, NULL, NULL }; AVFrame *gen_frames[] = { NULL, NULL, NULL, NULL, NULL };
AVFrame *dst; AVFrame *dst = NULL;
/* update frames queue(s) */ /* update frames queue(s) */
#define SLIDING_FRAME_WINDOW(prv, src, nxt) do { \ #define SLIDING_FRAME_WINDOW(prv, src, nxt) do { \