From 15fa01786ce6cd714e85e36e86b974fc6918f357 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 11 Apr 2016 03:59:12 +0200 Subject: 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: Michael Niedermayer --- libavformat/hdsenc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/hdsenc.c') 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, -- cgit v1.2.3