On Tue, May 24, 2016 at 03:52:49PM -0700, Jon Toohill wrote: > From: Jon Toohill <jon.tooh...@gmail.com> > > Also adds trailing_padding to AVCodecContext to match > AVCodecParameters so that it doesn't get lost when mapping > between them. > --- > libavcodec/avcodec.h | 11 +++++++++++ > libavcodec/utils.c | 38 ++++++++++++++++++++++---------------- > 2 files changed, 33 insertions(+), 16 deletions(-) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index 9ec9adf..408efe1 100644 > --- a/libavcodec/avcodec.h > +++ b/libavcodec/avcodec.h > @@ -3321,6 +3321,17 @@ typedef struct AVCodecContext { > int initial_padding; > > /** > + * Audio only. The amount of padding (in samples) appended by the > encoder to > + * the end of the audio. I.e. this number of decoded samples must be > + * discarded by the caller from the end of the stream to get the original > + * audio without any trailing padding. > + * > + * - decoding: unused > + * - encoding: unused > + */ > + int trailing_padding; > + > + /**
new fields must be added at the end to avoid breaking ABI also minor version has to be bumped and an entry should be added to doc/APIchanges [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Into a blind darkness they enter who follow after the Ignorance, they as if into a greater darkness enter who devote themselves to the Knowledge alone. -- Isha Upanishad
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel