[PATCH 3/8] 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, 2 insertions(+), 0 deletions(-)
diff --git a/libavutil/error.h b/libavutil/error.h
index f7132a1..77dbf6a 100644
--- a/libavutil/error.h
+++ b/libavutil/error.h
@@ -33,12 +33,14 @@
#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
/* Some platforms have E* and errno already negated. */
#define AVUNERROR(e) (e)
#endif
+#endif
#define AVERROR_UNKNOWN AVERROR(EINVAL) /**< unknown error */
#define AVERROR_IO AVERROR(EIO) /**< I/O error */
--
1.6.6.1
--YiEDa0DAkWCtVeE4
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0004-Make-decode_init-return-the-value-returned-by-avctx-.patch"
More information about the ffmpeg-devel
mailing list