mirror of https://git.ffmpeg.org/ffmpeg.git
vf_delogo: fix an uninitialized read.
CC:libav-stable@libav.org
This commit is contained in:
parent
76e74e4831
commit
f81c37e40f
|
@ -223,7 +223,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *in)
|
|||
AVFilterBufferRef *out;
|
||||
int hsub0 = desc->log2_chroma_w;
|
||||
int vsub0 = desc->log2_chroma_h;
|
||||
int direct;
|
||||
int direct = 0;
|
||||
int plane;
|
||||
|
||||
if ((in->perms & AV_PERM_WRITE) && !(in->perms & AV_PERM_PRESERVE)) {
|
||||
|
|
Loading…
Reference in New Issue