summaryrefslogtreecommitdiff
path: root/libavutil/error.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-20 07:14:50 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-21 07:10:16 +0200
commita975dbc86b97a421e51ac7075b8df869915745a2 (patch)
tree579042e81f843180de86f383e9c84dd59cfe3866 /libavutil/error.h
parent79157f400bec7fdb6385befa63fdafc727378143 (diff)
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 <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavutil/error.h')
-rw-r--r--libavutil/error.h2
1 files changed, 1 insertions, 1 deletions
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