Skip to content

Commit

Permalink
d2vsource: Fix mixed code and variable declarations
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Buitenhuis <[email protected]>
  • Loading branch information
dwbuiten committed Dec 3, 2013
1 parent fbea6c4 commit 13af506
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vs/d2vsource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ void VS_CC d2vCreate(const VSMap *in, VSMap *out, void *userData, VSCore *core,
d2vData *data;
string msg;
bool no_crop;
bool rff;
int err;

/* Allocate our private data. */
Expand Down Expand Up @@ -185,7 +186,7 @@ void VS_CC d2vCreate(const VSMap *in, VSMap *out, void *userData, VSCore *core,

vsapi->createFilter(in, out, "d2vsource", d2vInit, d2vGetFrame, d2vFree, fmSerial, 0, data, core);

bool rff = !!vsapi->propGetInt(in, "rff", 0, &err);
rff = !!vsapi->propGetInt(in, "rff", 0, &err);
if (err)
rff = true;

Expand Down

0 comments on commit 13af506

Please sign in to comment.