diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-12-03 23:38:27 +0400 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-12-03 23:38:29 +0400 |
commit | d91388367fa64b98a09b45e2b7fb8435a62b7609 (patch) | |
tree | 9c044363daaab617748e81b415a128ee769c556c /libavfilter/vf_gradfun.c | |
parent | e2fc6a01f66243da458cdb9352f35f87dd6cad34 (diff) |
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.
Diffstat (limited to 'libavfilter/vf_gradfun.c')
-rw-r--r-- | libavfilter/vf_gradfun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c index 260a44b6e5..32d8796071 100644 --- a/libavfilter/vf_gradfun.c +++ b/libavfilter/vf_gradfun.c @@ -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 { |