You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
yadif:Fix assert() failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -274,7 +274,7 @@ static int poll_frame(AVFilterLink *link)
|
|||||||
return ret;
|
return ret;
|
||||||
val = avfilter_poll_frame(link->src->inputs[0]);
|
val = avfilter_poll_frame(link->src->inputs[0]);
|
||||||
}
|
}
|
||||||
assert(yadif->next);
|
assert(yadif->next || !val);
|
||||||
|
|
||||||
return val * ((yadif->mode&1)+1);
|
return val * ((yadif->mode&1)+1);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user