lavfi/hqdn3d: avoid use of uninitialized variable.

This commit is contained in:
Clément Bœsch 2012-12-02 02:53:22 +01:00
parent a3554bb457
commit 9e1914dfba

View File

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