vf_hqdn3d: fix permissions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/8/head
Michael Niedermayer 12 years ago
parent 46a4e72bc5
commit ed547e2ce5
  1. 2
      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 {

Loading…
Cancel
Save