aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggdec.h
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2020-04-28 12:25:46 +0100
committerLynne <dev@lynne.ee>2020-04-30 23:05:51 +0100
commit8296443a70f052a6f5c9a867d28b83a5eb7d304d (patch)
treedc89608a38d95e1c15b2a531a8bac196446a321c /libavformat/oggdec.h
parente983197cbc93420b67aa7e811be47d7278c2c8a2 (diff)
downloadffmpeg-8296443a70f052a6f5c9a867d28b83a5eb7d304d.tar.gz
oggdec: add support for proper demuxing of chained Opus files and streams
Part of this patch is based on Paul B Mahol's patch from last year. This also allows for single-stream parameter/codec changes.
Diffstat (limited to 'libavformat/oggdec.h')
-rw-r--r--libavformat/oggdec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h
index 4a2b6ddee8..e2057c46f6 100644
--- a/libavformat/oggdec.h
+++ b/libavformat/oggdec.h
@@ -84,6 +84,7 @@ struct ogg_stream {
int got_start;
int got_data; ///< 1 if the stream got some data (non-initial packets), 0 otherwise
int nb_header; ///< set to the number of parsed headers
+ int start_trimming; ///< set the number of packets to drop from the start
int end_trimming; ///< set the number of packets to drop from the end
uint8_t *new_metadata;
unsigned int new_metadata_size;