[FFmpeg-devel] [PATCH] ffmpeg: add return value check to suppress the build warning.

Michael Niedermayer michael at niedermayer.cc
Tue Nov 21 04:09:54 EET 2017


On Mon, Nov 20, 2017 at 05:07:04PM +0800, 刘歧 wrote:
>
> > 在 2017年11月20日,08:40,Jun Zhao <mypopydev at gmail.com> 写道:
> >
> >
> > <0001-ffmpeg-add-return-value-check-to-supress-the-build-w.patch>_______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> From 01a66eb4559fb3fec0765ee03417a65ef5e06fe1 Mon Sep 17 00:00:00 2001
> From: Jun Zhao <jun.zhao at intel.com>
> Date: Sat, 18 Nov 2017 13:24:24 +0800
> Subject: [PATCH] ffmpeg: add return value check to supress the build warning.
>
> add return value check to supress the build warning message like
> "warning: ignoring return value" when use attribute -Wunused-result.
>
> Signed-off-by: Jun Zhao <jun.zhao at intel.com>
> ---
>  fftools/ffmpeg.c | 28 +++++++++++++++++++---------
>  1 file changed, 19 insertions(+), 9 deletions(-)
[...]
>
> LGTM

will apply

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171121/a1e35e19/attachment.sig>


More information about the ffmpeg-devel mailing list