avformat/smoothstreamingenc: do not override movflag defaults

Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Marton Balint 2023-04-15 21:12:35 +02:00
parent 8d8feea0a6
commit f2d0138f70
1 changed files with 1 additions and 1 deletions

View File

@ -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_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); ret = avformat_write_header(ctx, &opts);
av_dict_free(&opts); av_dict_free(&opts);
if (ret < 0) { if (ret < 0) {