diff mbox series

[FFmpeg-devel,4/6] avformat/smoothstreamingenc: do not override movflag defaults

Message ID 20230415220558.16122-4-cus@passwd.hu
State Accepted
Commit f2d0138f70045e17a5381148fef3b177f41e0ce9
Headers show
Series [FFmpeg-devel,1/6] avformat/mov: factorize reading creation time metadata | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Marton Balint April 15, 2023, 10:05 p.m. UTC
Signed-off-by: Marton Balint <cus@passwd.hu>
---
 libavformat/smoothstreamingenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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) {