diff avcodec.h @ 9786:798d6520c7f4 libavcodec

Add AV_PKT_FLAG_KEY and deprecate PKT_FLAG_KEY.
author reimar
date Wed, 03 Jun 2009 11:20:35 +0000
parents 48572d70c95f
children 2887f410011f
line wrap: on
line diff
--- a/avcodec.h	Wed Jun 03 10:25:21 2009 +0000
+++ b/avcodec.h	Wed Jun 03 11:20:35 2009 +0000
@@ -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 @@
      */
     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.