From 9862cbd7a450de3e56cdf85d25a04413d7c65f88 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 4 Jul 2012 21:58:48 +0200 Subject: [PATCH] add side data to indicate the amount of samples to skip at the begin and end MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolas George Reveiwed-by: Reimar Döffinger Signed-off-by: Michael Niedermayer --- libavcodec/avcodec.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 96ce223567..c850963a97 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -854,6 +854,17 @@ enum AVPacketSideDataType { * @endcode */ AV_PKT_DATA_H263_MB_INFO, + + /** + * Recommmends skipping the specified number of samples + * @code + * u32le number of samples to skip from start of this packet + * u32le number of samples to skip from end of this packet + * u8 reason for start skip + * u8 reason for end skip (0=padding silence, 1=convergence) + * @endcode + */ + AV_PKT_DATA_SKIP_SAMPLES=70, }; typedef struct AVPacket {