mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
lavc: schedule AVCodecContext.lowres for removal on next bump.
It has been deprecated some time ago, but was forgotten during the last bump.
This commit is contained in:
parent
ffb068ce8e
commit
803d21f38b
@ -2408,12 +2408,16 @@ typedef struct AVCodecContext {
|
|||||||
*/
|
*/
|
||||||
int bits_per_raw_sample;
|
int bits_per_raw_sample;
|
||||||
|
|
||||||
|
#if FF_API_LOWRES
|
||||||
/**
|
/**
|
||||||
* low resolution decoding, 1-> 1/2 size, 2->1/4 size
|
* low resolution decoding, 1-> 1/2 size, 2->1/4 size
|
||||||
* - encoding: unused
|
* - encoding: unused
|
||||||
* - decoding: Set by user.
|
* - decoding: Set by user.
|
||||||
|
*
|
||||||
|
* @deprecated use decoder private options instead
|
||||||
*/
|
*/
|
||||||
attribute_deprecated int lowres;
|
attribute_deprecated int lowres;
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the picture in the bitstream
|
* the picture in the bitstream
|
||||||
|
@ -61,5 +61,8 @@
|
|||||||
#ifndef FF_API_MISSING_SAMPLE
|
#ifndef FF_API_MISSING_SAMPLE
|
||||||
#define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 56)
|
#define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 56)
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef FF_API_LOWRES
|
||||||
|
#define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 56)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* AVCODEC_VERSION_H */
|
#endif /* AVCODEC_VERSION_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user