diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-04-02 20:26:39 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-26 07:15:10 +0200 |
commit | d85e18e6e342bf58f8e13a95f601082e5d70803a (patch) | |
tree | 020c7f690606652845d5e43e3bae7b23f8c6e13a | |
parent | f80b381bfd956e4470bdbc1854f88cf3ea0764a9 (diff) | |
download | ffmpeg-d85e18e6e342bf58f8e13a95f601082e5d70803a.tar.gz |
yadif: Fix assert() failure
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r-- | libavfilter/vf_yadif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index 7a488d6aaa..0396fe416a 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); } |