Browse Source

vf_delogo: fix an uninitialized read.

CC:libav-stable@libav.org
tags/n1.2
Anton Khirnov 13 years ago
parent
commit
f81c37e40f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_delogo.c

+ 1
- 1
libavfilter/vf_delogo.c 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)) {


Loading…
Cancel
Save