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>
This commit is contained in:
Anton Khirnov 2011-04-20 07:14:50 +02:00
parent 79157f400b
commit a975dbc86b

View File

@ -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