aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-10-09 09:22:36 +0200
committerAnton Khirnov <anton@khirnov.net>2020-10-28 14:56:20 +0100
commit456b170bd747ea7181c7305fd45278ea251f45ab (patch)
tree6b0716cd8c756135c2cdd5ca261327f193ad51c0 /libavformat/avformat.h
parentcb46a6bcbcb85b3910cc0cce78399686ab8efff6 (diff)
downloadffmpeg-456b170bd747ea7181c7305fd45278ea251f45ab.tar.gz
lavf: move AVStream.{*skip_samples.*_discard_sample} to AVStreamInternal
Those are private fields, no reason to have them exposed in a public header.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 2b42fb7fad..2aea37443e 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1123,35 +1123,6 @@ typedef struct AVStream {
int skip_to_keyframe;
/**
- * Number of samples to skip at the start of the frame decoded from the next packet.
- */
- int skip_samples;
-
- /**
- * If not 0, the number of samples that should be skipped from the start of
- * the stream (the samples are removed from packets with pts==0, which also
- * assumes negative timestamps do not happen).
- * Intended for use with formats such as mp3 with ad-hoc gapless audio
- * support.
- */
- int64_t start_skip_samples;
-
- /**
- * If not 0, the first audio sample that should be discarded from the stream.
- * This is broken by design (needs global sample count), but can't be
- * avoided for broken by design formats such as mp3 with ad-hoc gapless
- * audio support.
- */
- int64_t first_discard_sample;
-
- /**
- * The sample after last sample that is intended to be discarded after
- * first_discard_sample. Works on frame boundaries only. Used to prevent
- * early EOF if the gapless info is broken (considered concatenated mp3s).
- */
- int64_t last_discard_sample;
-
- /**
* An opaque field for libavformat internal usage.
* Must not be accessed in any way by callers.
*/