[FFmpeg-devel] [PATCH] avfilter/transform: add av_warn_unused_result to avfilter_transform
Michael Niedermayer
michael at niedermayer.cc
Fri Oct 16 17:32:50 CEST 2015
On Thu, Oct 15, 2015 at 05:27:44PM -0400, Ganesh Ajjanagadde wrote:
> This adds av_warn_unused_result to avfilter_transform to trigger
> warnings for non-checked return codes, currently none.
>
> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> ---
> libavfilter/transform.h | 1 +
> 1 file changed, 1 insertion(+)
only possible return code is EINVAL it seems so "not checking" the
return seems valid if one ensures the arguments are ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- 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/20151016/fd4c51bb/attachment.sig>
More information about the ffmpeg-devel
mailing list