diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-04 12:07:24 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-16 12:41:40 +0100 |
commit | b068660ffa73f226cc03a67e214b8540fc1e11c4 (patch) | |
tree | 6bb3d4966918e80d664c62f96b419bed76c9ea48 /libavcodec | |
parent | 72ca830f511fcdc01253689615faed25da7c57bf (diff) | |
download | ffmpeg-b068660ffa73f226cc03a67e214b8540fc1e11c4.tar.gz |
lavc: deprecate CODEC_CAP_NEG_LINESIZES
It was never used in any codec since it was added 3 years ago.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 4 | ||||
-rw-r--r-- | libavcodec/version.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 79c6efc3a2..f2fd0dc3d4 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -762,10 +762,12 @@ typedef struct RcOverride{ * Codec should fill in channel configuration and samplerate instead of container */ #define CODEC_CAP_CHANNEL_CONF 0x0400 +#if FF_API_NEG_LINESIZES /** - * Codec is able to deal with negative linesizes + * @deprecated no codecs use this capability */ #define CODEC_CAP_NEG_LINESIZES 0x0800 +#endif /** * Codec supports frame-level multithreading. */ diff --git a/libavcodec/version.h b/libavcodec/version.h index e9d09ac98e..c828dc8e61 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -115,5 +115,8 @@ #ifndef FF_API_FAST_MALLOC #define FF_API_FAST_MALLOC (LIBAVCODEC_VERSION_MAJOR < 56) #endif +#ifndef FF_API_NEG_LINESIZES +#define FF_API_NEG_LINESIZES (LIBAVCODEC_VERSION_MAJOR < 56) +#endif #endif /* AVCODEC_VERSION_H */ |