lavc: schedule unused FF_QSCALE_TYPE_* for removal on next bump

This commit is contained in:
Anton Khirnov 2013-10-27 16:30:38 +01:00
parent 8941971a8f
commit b45c87083d
2 changed files with 5 additions and 0 deletions

View File

@ -831,10 +831,12 @@ typedef struct AVPanScan{
int16_t position[3][2]; int16_t position[3][2];
}AVPanScan; }AVPanScan;
#if FF_API_QSCALE_TYPE
#define FF_QSCALE_TYPE_MPEG1 0 #define FF_QSCALE_TYPE_MPEG1 0
#define FF_QSCALE_TYPE_MPEG2 1 #define FF_QSCALE_TYPE_MPEG2 1
#define FF_QSCALE_TYPE_H264 2 #define FF_QSCALE_TYPE_H264 2
#define FF_QSCALE_TYPE_VP56 3 #define FF_QSCALE_TYPE_VP56 3
#endif
#if FF_API_GET_BUFFER #if FF_API_GET_BUFFER
#define FF_BUFFER_TYPE_INTERNAL 1 #define FF_BUFFER_TYPE_INTERNAL 1

View File

@ -103,5 +103,8 @@
#ifndef FF_API_ERROR_RATE #ifndef FF_API_ERROR_RATE
#define FF_API_ERROR_RATE (LIBAVCODEC_VERSION_MAJOR < 56) #define FF_API_ERROR_RATE (LIBAVCODEC_VERSION_MAJOR < 56)
#endif #endif
#ifndef FF_API_QSCALE_TYPE
#define FF_API_QSCALE_TYPE (LIBAVCODEC_VERSION_MAJOR < 56)
#endif
#endif /* AVCODEC_VERSION_H */ #endif /* AVCODEC_VERSION_H */