lavfi: replace empty input/output lists with null pointers
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
2f34021d57
commit
1fce361d70
15 changed files with 21 additions and 18 deletions
|
|
@ -302,6 +302,9 @@ static int pad_count(const AVFilterPad *pads)
|
|||
{
|
||||
int count;
|
||||
|
||||
if (!pads)
|
||||
return 0;
|
||||
|
||||
for(count = 0; pads->name; count ++) pads ++;
|
||||
return count;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue