History

lavu/error: define AVERROR_BUG.

Nicolas George committed 14 years ago

Commit 976b0951 parent 757cb3b4 files · +7 −2Browse files

Unified · Split

4 files
  1. doc/APIchanges +3 −0
  2. libavutil/avutil.h +2 −2
  3. libavutil/error.c +1 −0
  4. libavutil/error.h +1 −0
doc/APIchanges+3−0
@@ -13,6 +13,9 @@ libavutil: 2011-04-18 · 12 unmodified lines
13 13
14API changes, most recent first:14API changes, most recent first:
15 15
162011-12-03 - xxxxxxx - lavu 51.30.0
17 Add AVERROR_BUG.
18
162011-xx-xx - xxxxxxx - lavu 51.28.1192011-xx-xx - xxxxxxx - lavu 51.28.1
17 Add av_get_alt_sample_fmt() to samplefmt.h.20 Add av_get_alt_sample_fmt() to samplefmt.h.
18 21
libavutil/avutil.h+2−2
@@ -153,8 +153,8 @@ · 152 unmodified lines
153 */153 */
154 154
155#define LIBAVUTIL_VERSION_MAJOR 51155#define LIBAVUTIL_VERSION_MAJOR 51
156#define LIBAVUTIL_VERSION_MINOR 29156#define LIBAVUTIL_VERSION_MINOR 30
157#define LIBAVUTIL_VERSION_MICRO 1157#define LIBAVUTIL_VERSION_MICRO 0
158 158
159#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \159#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
160 LIBAVUTIL_VERSION_MINOR, \160 LIBAVUTIL_VERSION_MINOR, \
libavutil/error.c+1−0
@@ -27,6 +27,7 @@ int av_strerror(int errnum, char *errbuf, size_t errbuf_size) · 26 unmodified lines
27 27
28 switch (errnum) {28 switch (errnum) {
29 case AVERROR_BSF_NOT_FOUND: errstr = "Bitstream filter not found" ; break;29 case AVERROR_BSF_NOT_FOUND: errstr = "Bitstream filter not found" ; break;
30 case AVERROR_BUG: errstr = "Internal bug, should not have happened" ; break;
30 case AVERROR_DECODER_NOT_FOUND: errstr = "Decoder not found" ; break;31 case AVERROR_DECODER_NOT_FOUND: errstr = "Decoder not found" ; break;
31 case AVERROR_DEMUXER_NOT_FOUND: errstr = "Demuxer not found" ; break;32 case AVERROR_DEMUXER_NOT_FOUND: errstr = "Demuxer not found" ; break;
32 case AVERROR_ENCODER_NOT_FOUND: errstr = "Encoder not found" ; break;33 case AVERROR_ENCODER_NOT_FOUND: errstr = "Encoder not found" ; break;
libavutil/error.h+1−0
@@ -45,6 +45,7 @@ · 44 unmodified lines
45#endif45#endif
46 46
47#define AVERROR_BSF_NOT_FOUND (-MKTAG(0xF8,'B','S','F')) ///< Bitstream filter not found47#define AVERROR_BSF_NOT_FOUND (-MKTAG(0xF8,'B','S','F')) ///< Bitstream filter not found
48#define AVERROR_BUG (-MKTAG( 'B','U','G','!')) ///< Internal bug
48#define AVERROR_DECODER_NOT_FOUND (-MKTAG(0xF8,'D','E','C')) ///< Decoder not found49#define AVERROR_DECODER_NOT_FOUND (-MKTAG(0xF8,'D','E','C')) ///< Decoder not found
49#define AVERROR_DEMUXER_NOT_FOUND (-MKTAG(0xF8,'D','E','M')) ///< Demuxer not found50#define AVERROR_DEMUXER_NOT_FOUND (-MKTAG(0xF8,'D','E','M')) ///< Demuxer not found
50#define AVERROR_ENCODER_NOT_FOUND (-MKTAG(0xF8,'E','N','C')) ///< Encoder not found51#define AVERROR_ENCODER_NOT_FOUND (-MKTAG(0xF8,'E','N','C')) ///< Encoder not found

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t