Browse Source

lavc: schedule AVCodecContext.lowres for removal on next bump.

It has been deprecated some time ago, but was forgotten during the last
bump.
tags/n2.0
Anton Khirnov 12 years ago
parent
commit
803d21f38b
2 changed files with 7 additions and 0 deletions
  1. +4
    -0
      libavcodec/avcodec.h
  2. +3
    -0
      libavcodec/version.h

+ 4
- 0
libavcodec/avcodec.h View File

@@ -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


+ 3
- 0
libavcodec/version.h View File

@@ -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 */

Loading…
Cancel
Save