From 74a7ddd985c487b6645470174228ae2d734e6924 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Sun, 6 May 2018 09:33:28 +0800 Subject: [PATCH] lavfi/tests/filtfmts: fix the build warning. fix the build warning: ignoring return value. Signed-off-by: Jun Zhao --- libavfilter/tests/filtfmts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);