[FFmpeg-cvslog] add side data to indicate the amount of samples to skip at the begin and end

Michael Niedermayer git at videolan.org
Fri Jul 6 02:26:23 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jul  4 21:58:48 2012 +0200| [9862cbd7a450de3e56cdf85d25a04413d7c65f88] | committer: Michael Niedermayer

add side data to indicate the amount of samples to skip at the begin and end

Reviewed-by: Nicolas George <nicolas.george at normalesup.org>
Reveiwed-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9862cbd7a450de3e56cdf85d25a04413d7c65f88
---

 libavcodec/avcodec.h |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 96ce223..c850963 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 {



More information about the ffmpeg-cvslog mailing list