diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-08-23 12:40:50 +0000 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-10-13 19:09:01 +0000 |
commit | 2df0c32ea12ddfa72ba88309812bfb13b674130f (patch) | |
tree | 50677fbc787646c10931f8ba95e32883173f7bfb /libavcodec/version.h | |
parent | c80a816142699dea9cf9fa66689a7838a487ed7e (diff) | |
download | ffmpeg-2df0c32ea12ddfa72ba88309812bfb13b674130f.tar.gz |
lavc: use a separate field for exporting audio encoder padding
Currently, the amount of padding inserted at the beginning by some audio
encoders, is exported through AVCodecContext.delay. However
- the term 'delay' is heavily overloaded and can have multiple different
meanings even in the case of audio encoding.
- this field has entirely different meanings, depending on whether the
codec context is used for encoding or decoding (and has yet another
different meaning for video), preventing generic handling of the codec
context.
Therefore, add a new field -- AVCodecContext.initial_padding. It could
conceivably be used for decoding as well at a later point.
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r-- | libavcodec/version.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libavcodec/version.h b/libavcodec/version.h index 90b1f10f65..c44686d6ec 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -29,8 +29,8 @@ #include "libavutil/version.h" #define LIBAVCODEC_VERSION_MAJOR 56 -#define LIBAVCODEC_VERSION_MINOR 2 -#define LIBAVCODEC_VERSION_MICRO 2 +#define LIBAVCODEC_VERSION_MINOR 3 +#define LIBAVCODEC_VERSION_MICRO 0 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ LIBAVCODEC_VERSION_MINOR, \ @@ -153,5 +153,8 @@ #ifndef FF_API_AFD #define FF_API_AFD (LIBAVCODEC_VERSION_MAJOR < 57) #endif +#ifndef FF_API_AUDIOENC_DELAY +#define FF_API_AUDIOENC_DELAY (LIBAVCODEC_VERSION_MAJOR < 58) +#endif #endif /* AVCODEC_VERSION_H */ |