Commit 15fa0178 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/hdsenc: Pass flags to child context

This is needed as the bitexact flag is not in the codecpar context, and thus not copied
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 0c9ad94e
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment