diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-06-18 13:40:48 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-07-10 17:09:28 +0200 |
commit | 71a861cf4010ab835fab383a250f27903eb61a34 (patch) | |
tree | 5af1c2668613d3cd606b9803f34ac68c22152228 /libavcodec/version.h | |
parent | 18c007ba37b2c7dee5bd2f1a3eb3bfee9b6b3d26 (diff) | |
download | ffmpeg-71a861cf4010ab835fab383a250f27903eb61a34.tar.gz |
lavc: make avcodec_alloc_context3 officially public.
Deprecate avcodec_alloc_context/2.
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r-- | libavcodec/version.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/version.h b/libavcodec/version.h index 7e4c02d91e..32b2bb314c 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -68,6 +68,9 @@ #ifndef FF_API_GET_PIX_FMT_NAME #define FF_API_GET_PIX_FMT_NAME (LIBAVCODEC_VERSION_MAJOR < 54) #endif +#ifndef FF_API_ALLOC_CONTEXT +#define FF_API_ALLOC_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 54) +#endif #ifndef FF_API_AVCODEC_OPEN #define FF_API_AVCODEC_OPEN (LIBAVCODEC_VERSION_MAJOR < 54) #endif |