lavfi/hqdn3d: avoid use of uninitialized variable.

pull/8/head
Clément Bœsch 12 years ago
parent a3554bb457
commit 9e1914dfba
  1. 2
      libavfilter/vf_hqdn3d.c

@ -327,7 +327,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *in)
AVFilterLink *outlink = inlink->dst->outputs[0]; AVFilterLink *outlink = inlink->dst->outputs[0];
AVFilterBufferRef *out; AVFilterBufferRef *out;
int direct, c; int direct = 0, c;
if (in->perms & AV_PERM_WRITE) { if (in->perms & AV_PERM_WRITE) {
direct = 1; direct = 1;

Loading…
Cancel
Save