]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Add AV_PKT_FLAG_KEY and deprecate PKT_FLAG_KEY.
authorreimar <reimar@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 3 Jun 2009 11:20:35 +0000 (11:20 +0000)
committerreimar <reimar@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 3 Jun 2009 11:20:35 +0000 (11:20 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19078 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

doc/APIchanges
libavcodec/avcodec.h

index c36ccfcbf813651efcd45f469b6f544a7c68969a..d012139f856c535d1db19b98bb5bcb4a81f1d965 100644 (file)
@@ -12,6 +12,10 @@ libavutil:   2009-03-08
 
 API changes, most recent first:
 
+2009-06-03 - r19078 - lavc 52.30.2 - AV_PKT_FLAG_KEY
+  PKT_FLAG_KEY has been deprecated and will be dropped for the next
+  major version. Use AV_PKT_FLAG_KEY instead.
+
 2009-06-01 - r19025 - lavc 52.30.0 - av_lockmgr_register()
   av_lockmgr_register() can be used to register a callback function
   that lavc (and in the future, libraries that depend on lavc) can use
index 248287fb4ff10e1cfd089f62cd8c57c208b17d38..c6a9f89806d42435a9c7c214cda6259136d95630 100644 (file)
@@ -31,7 +31,7 @@
 
 #define LIBAVCODEC_VERSION_MAJOR 52
 #define LIBAVCODEC_VERSION_MINOR 30
-#define LIBAVCODEC_VERSION_MICRO  1
+#define LIBAVCODEC_VERSION_MICRO  2
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
                                                LIBAVCODEC_VERSION_MINOR, \
@@ -950,7 +950,10 @@ typedef struct AVPacket {
      */
     int64_t convergence_duration;
 } AVPacket;
-#define PKT_FLAG_KEY   0x0001
+#define AV_PKT_FLAG_KEY   0x0001
+#if LIBAVCODEC_VERSION_MAJOR < 53
+#define PKT_FLAG_KEY AV_PKT_FLAG_KEY
+#endif
 
 /**
  * Audio Video Frame.