Originally committed as revision 26056 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -13,6 +13,17 @@ libavutil: 2009-03-08 · 12 unmodified lines | |||
| 13 | 13 | ||
| 14 | API changes, most recent first: | 14 | API changes, most recent first: |
| 15 | 15 | ||
| 16 | 2010-12-19 - r26056 - lavutil 50.35.0 - error.h | ||
| 17 | Add "not found" error codes: | ||
| 18 | AVERROR_DEMUXER_NOT_FOUND | ||
| 19 | AVERROR_MUXER_NOT_FOUND | ||
| 20 | AVERROR_DECODER_NOT_FOUND | ||
| 21 | AVERROR_ENCODER_NOT_FOUND | ||
| 22 | AVERROR_PROTOCOL_NOT_FOUND | ||
| 23 | AVERROR_FILTER_NOT_FOUND | ||
| 24 | AVERROR_BSF_NOT_FOUND | ||
| 25 | AVERROR_STREAM_NOT_FOUND | ||
| 26 | |||
| 16 | 2010-12-09 - r25923 - lavcore 0.16.0 - avcore.h | 27 | 2010-12-09 - r25923 - lavcore 0.16.0 - avcore.h |
| 17 | Move AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from | 28 | Move AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from |
| 18 | avcodec.h to avcore.h. | 29 | avcodec.h to avcore.h. |
| @@ -40,7 +40,7 @@ · 39 unmodified lines | |||
| 40 | #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c) | 40 | #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c) |
| 41 | 41 | ||
| 42 | #define LIBAVUTIL_VERSION_MAJOR 50 | 42 | #define LIBAVUTIL_VERSION_MAJOR 50 |
| 43 | #define LIBAVUTIL_VERSION_MINOR 34 | 43 | #define LIBAVUTIL_VERSION_MINOR 35 |
| 44 | #define LIBAVUTIL_VERSION_MICRO 0 | 44 | #define LIBAVUTIL_VERSION_MICRO 0 |
| 45 | 45 | ||
| 46 | #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ | 46 | #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ |
| @@ -29,6 +29,14 @@ int av_strerror(int errnum, char *errbuf, size_t errbuf_size) · 28 unmodified lines | |||
| 29 | case AVERROR_INVALIDDATA: errstr = "Invalid data found when processing input"; break; | 29 | case AVERROR_INVALIDDATA: errstr = "Invalid data found when processing input"; break; |
| 30 | case AVERROR_NUMEXPECTED: errstr = "Number syntax expected in filename"; break; | 30 | case AVERROR_NUMEXPECTED: errstr = "Number syntax expected in filename"; break; |
| 31 | case AVERROR_PATCHWELCOME: errstr = "Not yet implemented in FFmpeg, patches welcome"; break; | 31 | case AVERROR_PATCHWELCOME: errstr = "Not yet implemented in FFmpeg, patches welcome"; break; |
| 32 | case AVERROR_DEMUXER_NOT_FOUND: errstr = "Demuxer not found"; break; | ||
| 33 | case AVERROR_MUXER_NOT_FOUND: errstr = "Muxer not found"; break; | ||
| 34 | case AVERROR_DECODER_NOT_FOUND: errstr = "Decoder not found"; break; | ||
| 35 | case AVERROR_ENCODER_NOT_FOUND: errstr = "Encoder not found"; break; | ||
| 36 | case AVERROR_PROTOCOL_NOT_FOUND:errstr = "Protocol not found"; break; | ||
| 37 | case AVERROR_FILTER_NOT_FOUND: errstr = "Filter not found"; break; | ||
| 38 | case AVERROR_BSF_NOT_FOUND: errstr = "Bitstream filter not found"; break; | ||
| 39 | case AVERROR_STREAM_NOT_FOUND: errstr = "Stream not found"; break; | ||
| 32 | } | 40 | } |
| 33 | 41 | ||
| 34 | if (errstr) { | 42 | if (errstr) { |
| @@ -57,6 +57,15 @@ · 56 unmodified lines | |||
| 57 | #define AVERROR_NUMEXPECTED (-MKTAG('N','U','E','X')) ///< Number syntax expected in filename | 57 | #define AVERROR_NUMEXPECTED (-MKTAG('N','U','E','X')) ///< Number syntax expected in filename |
| 58 | #endif | 58 | #endif |
| 59 | 59 | ||
| 60 | #define AVERROR_DEMUXER_NOT_FOUND (-MKTAG(0xF8,'D','E','M')) ///< Demuxer not found | ||
| 61 | #define AVERROR_MUXER_NOT_FOUND (-MKTAG(0xF8,'M','U','X')) ///< Muxer not found | ||
| 62 | #define AVERROR_DECODER_NOT_FOUND (-MKTAG(0xF8,'D','E','C')) ///< Decoder not found | ||
| 63 | #define AVERROR_ENCODER_NOT_FOUND (-MKTAG(0xF8,'E','N','C')) ///< Encoder not found | ||
| 64 | #define AVERROR_PROTOCOL_NOT_FOUND (-MKTAG(0xF8,'P','R','O')) ///< Protocol not found | ||
| 65 | #define AVERROR_FILTER_NOT_FOUND (-MKTAG(0xF8,'F','I','L')) ///< Filter not found | ||
| 66 | #define AVERROR_BSF_NOT_FOUND (-MKTAG(0xF8,'B','S','F')) ///< Bitstream filter not found | ||
| 67 | #define AVERROR_STREAM_NOT_FOUND (-MKTAG(0xF8,'S','T','R')) ///< Stream not found | ||
| 68 | |||
| 60 | /** | 69 | /** |
| 61 | * Put a description of the AVERROR code errnum in errbuf. | 70 | * Put a description of the AVERROR code errnum in errbuf. |
| 62 | * In case of failure the global variable errno is set to indicate the | 71 | * In case of failure the global variable errno is set to indicate the |