[FFmpeg-cvslog] lavfi/tests/filtfmts: fix the build warning.

Jun Zhao git at videolan.org
Thu May 10 14:38:32 EEST 2018


ffmpeg | branch: master | Jun Zhao <mypopydev at gmail.com> | Sun May  6 09:33:28 2018 +0800| [74a7ddd985c487b6645470174228ae2d734e6924] | committer: Jun Zhao

lavfi/tests/filtfmts: fix the build warning.

fix the build warning: ignoring return value.

Signed-off-by: Jun Zhao <mypopydev at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=74a7ddd985c487b6645470174228ae2d734e6924
---

 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);
 



More information about the ffmpeg-cvslog mailing list