mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-30 03:13:18 +00:00
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;
|
AVFilterBufferRef *out;
|
||||||
int hsub0 = desc->log2_chroma_w;
|
int hsub0 = desc->log2_chroma_w;
|
||||||
int vsub0 = desc->log2_chroma_h;
|
int vsub0 = desc->log2_chroma_h;
|
||||||
int direct;
|
int direct = 0;
|
||||||
int plane;
|
int plane;
|
||||||
|
|
||||||
if ((in->perms & AV_PERM_WRITE) && !(in->perms & AV_PERM_PRESERVE)) {
|
if ((in->perms & AV_PERM_WRITE) && !(in->perms & AV_PERM_PRESERVE)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user