aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorVignesh Venkatasubramanian <vigneshv@google.com>2013-10-14 07:41:16 -0700
committerMichael Niedermayer <michaelni@gmx.at>2013-10-14 18:46:12 +0200
commit0f99aad80f656c1bb0fca8034f17447dfc7a1876 (patch)
tree155c0710eb4ccb35c25ac42e7b72ba563f1bd36d /libavcodec/utils.c
parentf7ed044eeaf39c73333d3cc01d07b07d9bc860c6 (diff)
downloadffmpeg-0f99aad80f656c1bb0fca8034f17447dfc7a1876.tar.gz
lavc: Adding seek_preroll to AVCodecContext
seek_preroll field is added to the AVCodecContext struct. It indicates the number of samples to be discarded whenever there is a discontinuity. The minor version is bumped accordingly. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 20de48e269..3832b81677 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1044,6 +1044,7 @@ void avcodec_free_frame(AVFrame **frame)
MAKE_ACCESSORS(AVCodecContext, codec, AVRational, pkt_timebase)
MAKE_ACCESSORS(AVCodecContext, codec, const AVCodecDescriptor *, codec_descriptor)
MAKE_ACCESSORS(AVCodecContext, codec, int, lowres)
+MAKE_ACCESSORS(AVCodecContext, codec, int, seek_preroll)
int av_codec_get_max_lowres(const AVCodec *codec)
{