summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-04 22:00:50 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-12 20:32:03 +0200
commit018601dbf940a43dc0367f99b4953da5db9693e0 (patch)
tree659945bcf00fb23fb71c0494e44fdabbbd167228 /libavformat/avformat.h
parentc916af995d15bb1eb1329cb73fdb1c761433e601 (diff)
lavf: inject sample skip side data when requested by the demuxer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index a435d516c6..7dad8e27fe 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -805,6 +805,11 @@ typedef struct AVStream {
* should be discarded.
*/
int skip_to_keyframe;
+
+ /**
+ * Number of samples to skip at the start of the frame decoded from the next packet.
+ */
+ int skip_samples;
} AVStream;
#define AV_PROGRAM_RUNNING 1