[FFmpeg-cvslog] lavfi/gradfun: remove check for AV_PERM_PRESERVE.
Clément Bœsch
git at videolan.org
Mon Dec 3 20:39:43 CET 2012
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Mon Dec 3 20:38:27 2012 +0100| [d91388367fa64b98a09b45e2b7fb8435a62b7609] | committer: Clément Bœsch
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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d91388367fa64b98a09b45e2b7fb8435a62b7609
---
libavfilter/vf_gradfun.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c
index 260a44b..32d8796 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 {
More information about the ffmpeg-cvslog
mailing list