aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-04-11 03:59:12 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-04-11 04:34:00 +0200
commit15fa01786ce6cd714e85e36e86b974fc6918f357 (patch)
treea8c6354a271710cc9e6319dfe795f0ea77bf1580
parent0c9ad94e97baeb435ec6fc46ab19c16304a534dd (diff)
downloadffmpeg-15fa01786ce6cd714e85e36e86b974fc6918f357.tar.gz
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 <michael@niedermayer.cc>
-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,