summaryrefslogtreecommitdiff
path: root/doc/APIchanges
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-08 08:04:56 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-10 18:48:40 +0200
commit2ff67c909c95903240c30405b0b231ba68f5407a (patch)
tree72931b74d3665e3c6136b6f723ad70334881acdf /doc/APIchanges
parent33de86db2bda850d97e04c4fd132c223c7249333 (diff)
lavc: fix mixing CODEC_ID/AV_CODEC_ID in C++ code.
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.
Diffstat (limited to 'doc/APIchanges')
-rw-r--r--doc/APIchanges4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index b723e1062d..f94670cf16 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -18,6 +18,10 @@ API changes, most recent first:
2012-08-xx - xxxxxxx - lavc 54.25 - avcodec.h
Rename CodecID to AVCodecID and all CODEC_ID_* to AV_CODEC_ID_*.
+ To provide backwards compatibility, CodecID is now #defined as AVCodecID.
+ Note that this can break user code that includes avcodec.h and uses the
+ 'CodecID' identifier. Such code should either #undef CodecID or stop using the
+ CodecID name.
2012-08-03 - xxxxxxx - lavu 51.37.1 - cpu.h
lsws 2.1.1 - swscale.h