]> git.sesse.net Git - ffmpeg/commitdiff
add side data to indicate the amount of samples to skip at the begin and end
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 4 Jul 2012 19:58:48 +0000 (21:58 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 6 Jul 2012 00:25:29 +0000 (02:25 +0200)
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>
libavcodec/avcodec.h

index 96ce22356718ce729d45f92362e00c86df7dcec3..c850963a97608af32ae830309ef3d3c14192be87 100644 (file)
@@ -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 {