mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 16:52:31 +00:00
lavfi/gradfun: avoid use of uninitialized variable.
This commit is contained in:
parent
77693c541a
commit
a3554bb457
@ -187,7 +187,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *in)
|
||||
GradFunContext *gf = inlink->dst->priv;
|
||||
AVFilterLink *outlink = inlink->dst->outputs[0];
|
||||
AVFilterBufferRef *out;
|
||||
int p, direct;
|
||||
int p, direct = 0;
|
||||
|
||||
if ((in->perms & AV_PERM_WRITE) && !(in->perms & AV_PERM_PRESERVE)) {
|
||||
direct = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user