1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

yadif:Fix assert() failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-04-02 20:26:39 +02:00
parent c4804feca2
commit 679191a5df

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);
}