aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_hqdn3d.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-28 18:05:09 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-28 18:05:09 +0100
commited547e2ce5d567bc5ab6c5d27f56b39daadffbed (patch)
tree1ee19f7bd0e0f7711944fe7c90ec35b13a3ca75e /libavfilter/vf_hqdn3d.c
parent46a4e72bc5185d4e96221a86405af88d60ef8352 (diff)
downloadffmpeg-ed547e2ce5d567bc5ab6c5d27f56b39daadffbed.tar.gz
vf_hqdn3d: fix permissions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_hqdn3d.c')
-rw-r--r--libavfilter/vf_hqdn3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c
index f3d445c78b..92e0b44aac 100644
--- a/libavfilter/vf_hqdn3d.c
+++ b/libavfilter/vf_hqdn3d.c
@@ -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 {