mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
vf_hqdn3d: fix permissions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
46a4e72bc5
commit
ed547e2ce5
@ -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…
Reference in New Issue
Block a user