vf_hqdn3d: fix permissions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
46a4e72bc5
commit
ed547e2ce5
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue