vf_delogo: fix an uninitialized read.

CC:libav-stable@libav.org
This commit is contained in:
Anton Khirnov 2013-01-21 21:10:54 +01:00
parent 76e74e4831
commit f81c37e40f
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {