Browse Source

vf_hqdn3d: fix permissions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 12 years ago
parent
commit
ed547e2ce5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_hqdn3d.c

+ 1
- 1
libavfilter/vf_hqdn3d.c View File

@@ -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 {


Loading…
Cancel
Save