diff options
author | Nicolas George <george@nsup.org> | 2016-12-24 13:16:15 +0100 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2017-01-12 14:06:16 +0100 |
commit | ae4650f0b9cbb96b868038bafe632614832fe86f (patch) | |
tree | cd0f76b26dedfc3a88767d228a9a047bffe5f740 /libavfilter/avfilter.c | |
parent | 9eb4c79afd437a2913088cb1593892625a3125fc (diff) |
lavfi: disallow ff_request_frame for filters using activate.
Having two different functions allows to have stricter tests
and detect errors earlier.
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 75597d054e..64a14d318e 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -408,6 +408,7 @@ int ff_request_frame(AVFilterLink *link) { FF_TPRINTF_START(NULL, request_frame); ff_tlog_link(NULL, link, 1); + av_assert1(!link->dst->filter->activate); if (link->status_out) return link->status_out; if (link->status_in) { |