summaryrefslogtreecommitdiff
path: root/libavformat/isom.h
diff options
context:
space:
mode:
authorSasi Inguva <isasi-at-google.com@ffmpeg.org>2016-10-26 11:31:03 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2016-11-03 19:03:22 +0100
commit4abe1ff08f1fb2a909c4a99bd9e44a81e2c3cc3d (patch)
treeb7d27eacd9f016a970412b6a70251b0f6fe1ffb9 /libavformat/isom.h
parent067910ed134461fd3afc42c82a401e952bd2172f (diff)
lavf/mov.c: Use the first sidx for tracks without sidx.
According to spec ISO_IEC_15444_12 "For any media stream for which no segment index is present, referred to as non‐indexed stream, the media stream associated with the first Segment Index box in the segment serves as a reference stream in a sense that it also describes the subsegments for any non‐indexed media stream." Signed-off-by: Sasi Inguva <isasi@google.com> Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r--libavformat/isom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h
index 9038057820..d6845029d1 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -179,6 +179,7 @@ typedef struct MOVStreamContext {
int32_t *display_matrix;
uint32_t format;
+ int has_sidx; // If there is an sidx entry for this stream.
struct {
int use_subsamples;
uint8_t* auxiliary_info;