From f2d0138f70045e17a5381148fef3b177f41e0ce9 Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Sat, 15 Apr 2023 21:12:35 +0200 Subject: [PATCH] avformat/smoothstreamingenc: do not override movflag defaults Signed-off-by: Marton Balint --- libavformat/smoothstreamingenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/smoothstreamingenc.c b/libavformat/smoothstreamingenc.c index 66e6313934..3c050ca54e 100644 --- a/libavformat/smoothstreamingenc.c +++ b/libavformat/smoothstreamingenc.c @@ -340,7 +340,7 @@ static int ism_write_header(AVFormatContext *s) } av_dict_set_int(&opts, "ism_lookahead", c->lookahead_count, 0); - av_dict_set(&opts, "movflags", "frag_custom", 0); + av_dict_set(&opts, "movflags", "+frag_custom", 0); ret = avformat_write_header(ctx, &opts); av_dict_free(&opts); if (ret < 0) {