Browse Source

yadif: Fix assert() failure

Signed-off-by: Anton Khirnov <anton@khirnov.net>
tags/n0.8
Michael Niedermayer Anton Khirnov 14 years ago
parent
commit
d85e18e6e3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_yadif.c

+ 1
- 1
libavfilter/vf_yadif.c View File

@@ -274,7 +274,7 @@ static int poll_frame(AVFilterLink *link)
return ret;
val = avfilter_poll_frame(link->src->inputs[0]);
}
assert(yadif->next);
assert(yadif->next || !val);

return val * ((yadif->mode&1)+1);
}


Loading…
Cancel
Save