mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
error.h: test EDOM instead of EINVAL
C99 doesn't require EINVAL, only EDOM, EILSEQ, and ERANGE. Originally committed as revision 22530 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e4836e3c07
commit
6d2877f47e
@ -28,7 +28,7 @@
|
||||
#include "avutil.h"
|
||||
|
||||
/* error handling */
|
||||
#if EINVAL > 0
|
||||
#if EDOM > 0
|
||||
#define AVERROR(e) (-(e)) /**< Returns a negative error code from a POSIX error code, to return from library functions. */
|
||||
#define AVUNERROR(e) (-(e)) /**< Returns a POSIX error code from a library function error return value. */
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user