Commit e835ce83 authored by Anton Khirnov's avatar Anton Khirnov Committed by Reinhard Tartler

vf_delogo: fix an uninitialized read.

CC:libav-stable@libav.org
(cherry picked from commit f81c37e4)
Signed-off-by: 's avatarReinhard Tartler <siretart@tauware.de>
parent e0e42504
......@@ -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)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment