Commit ed547e2c authored by Michael Niedermayer's avatar Michael Niedermayer

vf_hqdn3d: fix permissions

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 46a4e72b
......@@ -329,7 +329,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *in)
AVFilterBufferRef *out;
int direct, c;
if ((in->perms & AV_PERM_WRITE) && !(in->perms & AV_PERM_PRESERVE)) {
if (in->perms & AV_PERM_WRITE) {
direct = 1;
out = in;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment