summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/hdsenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/hdsenc.c b/libavformat/hdsenc.c
index e56b3c4dc1..347df83a51 100644
--- a/libavformat/hdsenc.c
+++ b/libavformat/hdsenc.c
@@ -374,6 +374,7 @@ static int hds_write_header(AVFormatContext *s)
os->ctx = ctx;
ctx->oformat = oformat;
ctx->interrupt_callback = s->interrupt_callback;
+ ctx->flags = s->flags;
ctx->pb = avio_alloc_context(os->iobuf, sizeof(os->iobuf),
AVIO_FLAG_WRITE, os,