[FFmpeg-devel] [PATCH 1/5] add side data to indicate the amount of samples to skip at the begin and end

Michael Niedermayer michaelni at gmx.at
Wed Jul 4 23:15:02 CEST 2012


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavcodec/avcodec.h |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 9748ba6..87caf37 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -852,6 +852,17 @@ enum AVPacketSideDataType {
      * @endcode
      */
     AV_PKT_DATA_H263_MB_INFO,
+
+    /**
+     * Recommmands skiping 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 {
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list