[FFmpeg-devel] [PATCH] avutil/parseutils: add av_warn_unused_result

Michael Niedermayer michael at niedermayer.cc
Fri Oct 30 11:06:00 CET 2015


On Thu, Oct 15, 2015 at 07:52:44PM -0400, Ganesh Ajjanagadde wrote:
> This triggers a few warnings that will need to be fixed - not that bad,
> the current code is mostly fine.
> 
> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> ---
>  libavutil/parseutils.h | 5 +++++
>  1 file changed, 5 insertions(+)

iam unsure about this
in practice the input to these functions is most of the time from the
user and thus would need to be syntax checked but
in principle the input could have been checked already, for example
though a previous call to the same function in which case no
check is needed anymore

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

The worst form of inequality is to try to make unequal things equal.
-- 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/20151030/c3fd3f03/attachment.sig>


More information about the ffmpeg-devel mailing list