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
1313
1414 API changes, most recent first:
1515
16+2011-12-03 - xxxxxxx - lavu 51.30.0
17+ Add AVERROR_BUG.
18+
1619 2011-xx-xx - xxxxxxx - lavu 51.28.1
1720 Add av_get_alt_sample_fmt() to samplefmt.h.
1821
libavutil/avutil.h+2−2
@@ -153,8 +153,8 @@ · 152 unmodified lines
153153 */
154154
155155 #define LIBAVUTIL_VERSION_MAJOR 51
156−#define LIBAVUTIL_VERSION_MINOR 29
157−#define LIBAVUTIL_VERSION_MICRO 1
156+#define LIBAVUTIL_VERSION_MINOR 30
157+#define LIBAVUTIL_VERSION_MICRO 0
158158
159159 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
160160 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
2727
2828 switch (errnum) {
2929 case AVERROR_BSF_NOT_FOUND: errstr = "Bitstream filter not found" ; break;
30+ case AVERROR_BUG: errstr = "Internal bug, should not have happened" ; break;
3031 case AVERROR_DECODER_NOT_FOUND: errstr = "Decoder not found" ; break;
3132 case AVERROR_DEMUXER_NOT_FOUND: errstr = "Demuxer not found" ; break;
3233 case AVERROR_ENCODER_NOT_FOUND: errstr = "Encoder not found" ; break;
libavutil/error.h+1−0
@@ -45,6 +45,7 @@ · 44 unmodified lines
4545 #endif
4646
4747 #define AVERROR_BSF_NOT_FOUND (-MKTAG(0xF8,'B','S','F')) ///< Bitstream filter not found
48+#define AVERROR_BUG (-MKTAG( 'B','U','G','!')) ///< Internal bug
4849 #define AVERROR_DECODER_NOT_FOUND (-MKTAG(0xF8,'D','E','C')) ///< Decoder not found
4950 #define AVERROR_DEMUXER_NOT_FOUND (-MKTAG(0xF8,'D','E','M')) ///< Demuxer not found
5051 #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