aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-04-02 20:26:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-02 20:27:07 +0200
commit679191a5df5eb94bb9e68e6090e0bf6b742cc4f3 (patch)
tree1526fd073e91537757c9fe54d358468ff6250b5b
parentc4804feca2b81e9c482cc21c72ea8b942e4cca04 (diff)
downloadffmpeg-679191a5df5eb94bb9e68e6090e0bf6b742cc4f3.tar.gz
yadif:Fix assert() failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/vf_yadif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c
index 04b03ada53..2494232033 100644
--- a/libavfilter/vf_yadif.c
+++ b/libavfilter/vf_yadif.c
@@ -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);
}