summaryrefslogtreecommitdiff
path: root/libavformat/oggdec.h
diff options
context:
space:
mode:
authorVignesh Venkatasubramanian <vigneshv@google.com>2013-09-12 10:24:18 -0700
committerMichael Niedermayer <michaelni@gmx.at>2013-09-16 21:42:41 +0200
commit23637f98f4a90a7f0413db57ddb01a4d1a82ead7 (patch)
tree48020475079225f6c1d65303299ed4430ad46f9f /libavformat/oggdec.h
parentb7dd4598630fb1f890ae060f21a9ec92a103f22d (diff)
downloadffmpeg-23637f98f4a90a7f0413db57ddb01a4d1a82ead7.tar.gz
lavf/ogg: Support for end trimming Opus
Adding support for end trimming Opus embedded in Ogg container. Signed-Off By: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 e9a300dd9e..c31859fecd 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 end_trimming; ///< set the number of packets to drop from the end
void *private;
};