[FFmpeg-devel] [PATCH] ffmpeg_opt: check fclose return value

Michael Niedermayer michael at niedermayer.cc
Tue Jan 12 13:56:25 CET 2016


On Mon, Jan 11, 2016 at 05:35:17PM -0500, Ganesh Ajjanagadde wrote:
> This one may be slightly more theoretical, since the preset file is opened in a
> read-only mode. Nevertheless, it is a good idea to check its return value.
> 
> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> ---
>  ffmpeg_opt.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

probably ok

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

No great genius has ever existed without some touch of madness. -- 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/20160112/67f4c72c/attachment.sig>


More information about the ffmpeg-devel mailing list