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>
This commit is contained in:
Michael Niedermayer 2016-04-11 03:59:12 +02:00
parent 02d08da81f
commit 4104f18358

View File

@ -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;