[FFmpeg-devel] [PATCH 1/2] rtsp: Use AVERROR() with errno.h error codes for error returns

Michael Niedermayer michael at niedermayer.cc
Thu Dec 12 10:57:57 EET 2019

On Wed, Dec 11, 2019 at 02:21:22PM +0200, Martin Storsjö wrote:
> For this particular function, it's only required to return nonzero,
> but use the common AVERROR() pattern for consistency.
> ---
>  libavformat/rtsp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191212/d6e0d3af/attachment.sig>

More information about the ffmpeg-devel mailing list