We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FilterGraph::filter
nb_filters
1 parent b631ac0 commit e80e54bCopy full SHA for e80e54b
src/filters/filtergraph.cpp
@@ -70,7 +70,7 @@ FilterContext FilterGraph::filter(unsigned idx, OptionalErrorCode ec)
70
return FilterContext();
71
}
72
73
- if (idx < m_raw->nb_filters) {
+ if (idx >= m_raw->nb_filters) {
74
throws_if(ec, Errors::OutOfRange);
75
76
0 commit comments