Revision 73ddbd9d libavutil/error.h

View differences:

libavutil/error.h
38 38
#define AVERROR_IO          AVERROR(EIO)     /**< I/O error */
39 39
#define AVERROR_NOENT       AVERROR(ENOENT)  /**< No such file or directory. */
40 40
#define AVERROR_NOMEM       AVERROR(ENOMEM)  /**< not enough memory */
41
#define AVERROR_NUMEXPECTED AVERROR(EDOM)    /**< Number syntax expected in filename. */
41 42
#define AVERROR_UNKNOWN     AVERROR(EINVAL)  /**< unknown error */
42 43
#endif
43 44

  
......
45 46
#define AVERROR_INVALIDDATA AVERROR(EINVAL)  /**< invalid data found */
46 47
#define AVERROR_NOFMT       AVERROR(EILSEQ)  /**< unknown format */
47 48
#define AVERROR_NOTSUPP     AVERROR(ENOSYS)  /**< Operation not supported. */
48
#define AVERROR_NUMEXPECTED AVERROR(EDOM)    /**< Number syntax expected in filename. */
49 49

  
50 50
#define AVERROR_PATCHWELCOME    (-MKTAG('P','A','W','E')) /**< Not yet implemented in FFmpeg. Patches welcome. */
51 51

  
52
#if LIBAVUTIL_VERSION_MAJOR > 50
53
#define AVERROR_NUMEXPECTED     (-MKTAG('N','U','E','X')) /**< Number syntax expected in filename. */
54
#endif
55

  
52 56
#endif /* AVUTIL_ERROR_H */

Also available in: Unified diff