1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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) #define AVUNERROR(e) (e)
#endif #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 #define AVERROR_PATCHWELCOME (-MKTAG('P','A','W','E')) ///< Not yet implemented in Libav, patches welcome