Commit a975dbc8 authored by Anton Khirnov's avatar Anton Khirnov

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: 's avatarStefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 79157f40
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment