diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-06-03 11:20:35 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-06-03 11:20:35 +0000 |
commit | 8f3f2e067605b6ef537dd7aad8e0b8f4b67289ec (patch) | |
tree | 91b343a39a84b0246aa03f55b2f0647643b6e699 /libavcodec | |
parent | da45d5b9c61171a63d74cbc684840b2b408099c1 (diff) | |
download | ffmpeg-8f3f2e067605b6ef537dd7aad8e0b8f4b67289ec.tar.gz |
Add AV_PKT_FLAG_KEY and deprecate PKT_FLAG_KEY.
Originally committed as revision 19078 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 248287fb4f..c6a9f89806 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -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. |