diff --git a/libavfilter/tests/filtfmts.c b/libavfilter/tests/filtfmts.c index a958621f1c..317df86c55 100644 --- a/libavfilter/tests/filtfmts.c +++ b/libavfilter/tests/filtfmts.c @@ -138,9 +138,9 @@ int main(int argc, char **argv) } if (filter->query_formats) - filter->query_formats(filter_ctx); + ret = filter->query_formats(filter_ctx); else - ff_default_query_formats(filter_ctx); + ret = ff_default_query_formats(filter_ctx); print_formats(filter_ctx);