From 876ed08b0d13dc163d84fb5f8365c5cd9060c326 Mon Sep 17 00:00:00 2001 From: "kjeyapal@akamai.com" Date: Wed, 5 Dec 2018 11:48:40 +0530 Subject: [PATCH] avformat/dashenc: Used the movenc option skip_sidx instead of global_sidx Anyways the intended behaviour was to disable SIDX atom. --- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 4d9b564a945..585b34cb97a 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -1162,7 +1162,7 @@ static int dash_init(AVFormatContext *s) if (os->segment_type == SEGMENT_TYPE_MP4) { if (c->streaming) - av_dict_set(&opts, "movflags", "frag_every_frame+dash+delay_moov+global_sidx", 0); + av_dict_set(&opts, "movflags", "frag_every_frame+dash+delay_moov+skip_sidx", 0); else av_dict_set(&opts, "movflags", "frag_custom+dash+delay_moov", 0); } else { -- 2.39.2