lavfi: replace empty input/output lists with null pointers

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Mans Rullgard
2012-09-16 12:58:49 +01:00
parent 2f34021d57
commit 1fce361d70
15 changed files with 21 additions and 18 deletions

View File

@@ -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;
}