mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-16 18:11:19 +00:00
lavfi/gradfun: remove check for AV_PERM_PRESERVE.
This check does not make sense in this context, see doc/filter_design.txt for details about the usage of such flag.
This commit is contained in:
parent
e2fc6a01f6
commit
d91388367f
@ -189,7 +189,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *in)
|
||||
AVFilterBufferRef *out;
|
||||
int p, direct = 0;
|
||||
|
||||
if ((in->perms & AV_PERM_WRITE) && !(in->perms & AV_PERM_PRESERVE)) {
|
||||
if (in->perms & AV_PERM_WRITE) {
|
||||
direct = 1;
|
||||
out = in;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user