diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-10-06 14:36:38 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-10-12 14:45:25 +0400 |
commit | d2fcb356caf38c12b0fc9d8c5bac592a28b0f0f1 (patch) | |
tree | bfb4c40085c804f2fddff72acfe966ae24e45d1f /libavutil/version.h | |
parent | fdd666094d42f46935a86ad8375cec67c540bf38 (diff) |
pixdesc: add functions for accessing pixel format descriptors.
Make av_pix_fmt_descriptors table static on next major bump.
Making the table public is dangerous, since the caller has no way to
know how large it actually is. It also prevents adding new fields to
AVPixFmtDescriptor without a major bump.
Diffstat (limited to 'libavutil/version.h')
-rw-r--r-- | libavutil/version.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavutil/version.h b/libavutil/version.h index 856283598d..d4b764ae15 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -37,7 +37,7 @@ */ #define LIBAVUTIL_VERSION_MAJOR 51 -#define LIBAVUTIL_VERSION_MINOR 43 +#define LIBAVUTIL_VERSION_MINOR 44 #define LIBAVUTIL_VERSION_MICRO 0 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ @@ -79,6 +79,9 @@ #ifndef FF_API_CONTEXT_SIZE #define FF_API_CONTEXT_SIZE (LIBAVUTIL_VERSION_MAJOR < 52) #endif +#ifndef FF_API_PIX_FMT_DESC +#define FF_API_PIX_FMT_DESC (LIBAVUTIL_VERSION_MAJOR < 52) +#endif /** * @} |