Browse Source

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>
tags/n0.8
Anton Khirnov 14 years ago
parent
commit
a975dbc86b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/error.h

+ 1
- 1
libavutil/error.h 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



Loading…
Cancel
Save