diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-12-03 20:38:27 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-12-03 20:38:29 +0100 |
commit | d91388367fa64b98a09b45e2b7fb8435a62b7609 (patch) | |
tree | 9c044363daaab617748e81b415a128ee769c556c | |
parent | e2fc6a01f66243da458cdb9352f35f87dd6cad34 (diff) | |
download | ffmpeg-d91388367fa64b98a09b45e2b7fb8435a62b7609.tar.gz |
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.
-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 { |