mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 19:59:46 +00:00
yadif: Fix assert() failure
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
f80b381bfd
commit
d85e18e6e3
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user