diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-04-30 12:17:33 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-05-03 08:07:35 +0200 |
commit | 803d21f38bdafe7c4e2571a9ae7052013a12923b (patch) | |
tree | d3049200a53e92cb4959e52d127914c01c8ed9b9 | |
parent | ffb068ce8e99df121d18a5b9b1d820f3ea8697fb (diff) | |
download | ffmpeg-803d21f38bdafe7c4e2571a9ae7052013a12923b.tar.gz |
lavc: schedule AVCodecContext.lowres for removal on next bump.
It has been deprecated some time ago, but was forgotten during the last
bump.
-rw-r--r-- | libavcodec/avcodec.h | 4 | ||||
-rw-r--r-- | libavcodec/version.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 2085eb63a4..c265d87fe6 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2408,12 +2408,16 @@ typedef struct AVCodecContext { */ int bits_per_raw_sample; +#if FF_API_LOWRES /** * low resolution decoding, 1-> 1/2 size, 2->1/4 size * - encoding: unused * - decoding: Set by user. + * + * @deprecated use decoder private options instead */ attribute_deprecated int lowres; +#endif /** * the picture in the bitstream diff --git a/libavcodec/version.h b/libavcodec/version.h index 05ed6d017e..2165a3d061 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -61,5 +61,8 @@ #ifndef FF_API_MISSING_SAMPLE #define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 56) #endif +#ifndef FF_API_LOWRES +#define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 56) +#endif #endif /* AVCODEC_VERSION_H */ |