C++ does not allow to mix different enums, so e.g. code comparing ACodecID with CodecID would fail to compile with gcc. This very evil hack should fix this problem.
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -18,6 +18,10 @@ API changes, most recent first: · 17 unmodified lines | |||
| 18 | 18 | ||
| 19 | 2012-08-xx - xxxxxxx - lavc 54.25 - avcodec.h | 19 | 2012-08-xx - xxxxxxx - lavc 54.25 - avcodec.h |
| 20 | Rename CodecID to AVCodecID and all CODEC_ID_* to AV_CODEC_ID_*. | 20 | Rename CodecID to AVCodecID and all CODEC_ID_* to AV_CODEC_ID_*. |
| 21 | To provide backwards compatibility, CodecID is now #defined as AVCodecID. | ||
| 22 | Note that this can break user code that includes avcodec.h and uses the | ||
| 23 | 'CodecID' identifier. Such code should either #undef CodecID or stop using the | ||
| 24 | CodecID name. | ||
| 21 | 25 | ||
| 22 | 2012-08-03 - xxxxxxx - lavu 51.37.1 - cpu.h | 26 | 2012-08-03 - xxxxxxx - lavu 51.37.1 - cpu.h |
| 23 | lsws 2.1.1 - swscale.h | 27 | lsws 2.1.1 - swscale.h |