From a975dbc86b97a421e51ac7075b8df869915745a2 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 20 Apr 2011 07:14:50 +0200 Subject: error: change AVERROR_EOF value The current value is masking the POSIX error code EPIPE, which has a different semantics. This breaks API. Signed-off-by: Stefano Sabatini Signed-off-by: Anton Khirnov --- libavutil/error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/error.h') diff --git a/libavutil/error.h b/libavutil/error.h index 62e75e136d..a422f8555c 100644 --- a/libavutil/error.h +++ b/libavutil/error.h @@ -37,7 +37,7 @@ #define AVUNERROR(e) (e) #endif -#define AVERROR_EOF AVERROR(EPIPE) ///< End of file +#define AVERROR_EOF (-MKTAG('E','O','F',' ')) ///< End of file #define AVERROR_PATCHWELCOME (-MKTAG('P','A','W','E')) ///< Not yet implemented in Libav, patches welcome -- cgit v1.2.3