From 4104f183585106fe50a14fe136b739fe6ecd709b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 11 Apr 2016 03:59:12 +0200 Subject: [PATCH] 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 --- libavformat/segment.c | 1 + 1 file changed, 1 insertion(+) 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;