lavfi/tests/filtfmts: fix the build warning.
authorJun Zhao <mypopydev@gmail.com>
Sun, 6 May 2018 01:33:28 +0000 (09:33 +0800)
committerJun Zhao <jun.zhao@intel.com>
Thu, 10 May 2018 11:28:51 +0000 (19:28 +0800)
fix the build warning: ignoring return value.

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
libavfilter/tests/filtfmts.c

index a958621..317df86 100644 (file)
@@ -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);