summaryrefslogtreecommitdiff
path: root/libavformat/segment.c
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
commit4104f183585106fe50a14fe136b739fe6ecd709b (patch)
treee4664270aab491b4984803b69ed947390923fd71 /libavformat/segment.c
parent02d08da81fd8ad4bb41c79a57815abc067f0ee2b (diff)
avformat/segment: 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/segment.c')
-rw-r--r--libavformat/segment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 6d693f8886..df6f4b5c73 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -162,6 +162,7 @@ static int segment_mux_init(AVFormatContext *s)
oc->opaque = s->opaque;
oc->io_close = s->io_close;
oc->io_open = s->io_open;
+ oc->flags = s->flags;
for (i = 0; i < s->nb_streams; i++) {
AVStream *st;