[FFmpeg-cvslog] r22530 - trunk/libavutil/error.h
mru
subversion
Sun Mar 14 23:25:35 CET 2010
Author: mru
Date: Sun Mar 14 23:25:35 2010
New Revision: 22530
Log:
error.h: test EDOM instead of EINVAL
C99 doesn't require EINVAL, only EDOM, EILSEQ, and ERANGE.
Modified:
trunk/libavutil/error.h
Modified: trunk/libavutil/error.h
==============================================================================
--- trunk/libavutil/error.h Sun Mar 14 23:25:31 2010 (r22529)
+++ trunk/libavutil/error.h Sun Mar 14 23:25:35 2010 (r22530)
@@ -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
More information about the ffmpeg-cvslog
mailing list