aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-04 21:58:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-06 02:25:29 +0200
commit9862cbd7a450de3e56cdf85d25a04413d7c65f88 (patch)
treee53fa8e8af557023276d31eee4b56f993e264066
parent636dbe2678f6e557c327890f43aac8bb0c319e48 (diff)
downloadffmpeg-9862cbd7a450de3e56cdf85d25a04413d7c65f88.tar.gz
add side data to indicate the amount of samples to skip at the begin and end
Reviewed-by: Nicolas George <nicolas.george@normalesup.org> Reveiwed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/avcodec.h11
1 files changed, 11 insertions, 0 deletions
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 {