lavc: Update version and APIchanges

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
pull/161/head
Vittorio Giovara 10 years ago
parent 059a934806
commit b94ec30428
  1. 6
      doc/APIchanges
  2. 4
      libavcodec/avcodec.h
  3. 7
      libavcodec/version.h

@ -13,6 +13,12 @@ libavutil: 2014-08-09
API changes, most recent first: API changes, most recent first:
2015-xx-xx - lavc 56.35.0 - avcodec.h
xxxxxxxxx - Rename CODEC_FLAG* defines to AV_CODEC_FLAG*.
xxxxxxxxx - Rename CODEC_CAP_* defines to AV_CODEC_CAP_*.
xxxxxxxxx - Rename FF_INPUT_BUFFER_PADDING_SIZE and FF_MIN_BUFFER_SIZE
to AV_INPUT_BUFFER_PADDING_SIZE and AV_INPUT_BUFFER_MIN_SIZE.
2015-xx-xx - xxxxxxx - lavc 56.33.0 - avcodec.h 2015-xx-xx - xxxxxxx - lavc 56.33.0 - avcodec.h
Add AV_PKT_DATA_QUALITY_FACTOR to export the quality value of an AVPacket. Add AV_PKT_DATA_QUALITY_FACTOR to export the quality value of an AVPacket.

@ -544,6 +544,7 @@ typedef struct AVCodecDescriptor {
*/ */
#define AV_INPUT_BUFFER_MIN_SIZE 16384 #define AV_INPUT_BUFFER_MIN_SIZE 16384
#if FF_API_WITHOUT_PREFIX
/** /**
* @deprecated use AV_INPUT_BUFFER_PADDING_SIZE instead * @deprecated use AV_INPUT_BUFFER_PADDING_SIZE instead
*/ */
@ -553,6 +554,7 @@ typedef struct AVCodecDescriptor {
* @deprecated use AV_INPUT_BUFFER_MIN_SIZE instead * @deprecated use AV_INPUT_BUFFER_MIN_SIZE instead
*/ */
#define FF_MIN_BUFFER_SIZE 16384 #define FF_MIN_BUFFER_SIZE 16384
#endif /* FF_API_WITHOUT_PREFIX */
/** /**
* @ingroup lavc_encoding * @ingroup lavc_encoding
@ -806,6 +808,7 @@ typedef struct RcOverride{
*/ */
#define AV_CODEC_CAP_VARIABLE_FRAME_SIZE (1 << 16) #define AV_CODEC_CAP_VARIABLE_FRAME_SIZE (1 << 16)
#if FF_API_WITHOUT_PREFIX
/** /**
* Allow decoders to produce frames with data planes that are not aligned * Allow decoders to produce frames with data planes that are not aligned
* to CPU requirements (e.g. due to cropping). * to CPU requirements (e.g. due to cropping).
@ -972,6 +975,7 @@ typedef struct RcOverride{
* Audio encoder supports receiving a different number of samples in each call. * Audio encoder supports receiving a different number of samples in each call.
*/ */
#define CODEC_CAP_VARIABLE_FRAME_SIZE 0x10000 #define CODEC_CAP_VARIABLE_FRAME_SIZE 0x10000
#endif /* FF_API_WITHOUT_PREFIX */
#if FF_API_MB_TYPE #if FF_API_MB_TYPE
//The following defines may change, don't expect compatibility if you use them. //The following defines may change, don't expect compatibility if you use them.

@ -29,8 +29,8 @@
#include "libavutil/version.h" #include "libavutil/version.h"
#define LIBAVCODEC_VERSION_MAJOR 56 #define LIBAVCODEC_VERSION_MAJOR 56
#define LIBAVCODEC_VERSION_MINOR 34 #define LIBAVCODEC_VERSION_MINOR 35
#define LIBAVCODEC_VERSION_MICRO 1 #define LIBAVCODEC_VERSION_MICRO 0
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \ LIBAVCODEC_VERSION_MINOR, \
@ -177,5 +177,8 @@
#ifndef FF_API_MOTION_EST #ifndef FF_API_MOTION_EST
#define FF_API_MOTION_EST (LIBAVCODEC_VERSION_MAJOR < 59) #define FF_API_MOTION_EST (LIBAVCODEC_VERSION_MAJOR < 59)
#endif #endif
#ifndef FF_API_WITHOUT_PREFIX
#define FF_API_WITHOUT_PREFIX (LIBAVCODEC_VERSION_MAJOR < 59)
#endif
#endif /* AVCODEC_VERSION_H */ #endif /* AVCODEC_VERSION_H */

Loading…
Cancel
Save