Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-04-11 04:59:12 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-04-11 05:34:00 +0300
commit15fa01786ce6cd714e85e36e86b974fc6918f357 (patch)
treea8c6354a271710cc9e6319dfe795f0ea77bf1580 /libavformat/hdsenc.c
parent0c9ad94e97baeb435ec6fc46ab19c16304a534dd (diff)
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>
Diffstat (limited to 'libavformat/hdsenc.c')
-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,