Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-28 21:05:09 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-11-28 21:05:09 +0400
commited547e2ce5d567bc5ab6c5d27f56b39daadffbed (patch)
tree1ee19f7bd0e0f7711944fe7c90ec35b13a3ca75e
parent46a4e72bc5185d4e96221a86405af88d60ef8352 (diff)
vf_hqdn3d: fix permissions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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 {