You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user