[PATCH 2/2] Mark AVUNERROR for deletion at the next major bump.
Stefano Sabatini
stefano.sabatini-lala
Thu Mar 11 00:24:19 CET 2010
---
libavutil/error.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavutil/error.h b/libavutil/error.h
index 21647cb..7d28027 100644
--- a/libavutil/error.h
+++ b/libavutil/error.h
@@ -32,6 +32,7 @@
#define AVERROR(e) (e)
#endif
+#if LIBAVUTIL_VERSION_MAJOR < 51
#if EINVAL > 0
#define AVUNERROR(e) (-(e)) /**< Returns a POSIX error code from a library function error return value. */
#else
@@ -39,7 +40,6 @@
#define AVUNERROR(e) (e)
#endif
-#if LIBAVUTIL_VERSION_MAJOR < 51
#define AVERROR_UNKNOWN AVERROR(EINVAL) /**< unknown error */
#define AVERROR_IO AVERROR(EIO) /**< I/O error */
#define AVERROR_NOMEM AVERROR(ENOMEM) /**< not enough memory */
--
1.6.6.1
--J2SCkAp4GZ/dPZZf--
More information about the ffmpeg-devel
mailing list