[FFmpeg-cvslog] avformat/segment: Pass flags to child context

Michael Niedermayer git at videolan.org
Mon Apr 11 04:35:17 CEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Apr 11 03:59:12 2016 +0200| [4104f183585106fe50a14fe136b739fe6ecd709b] | committer: Michael Niedermayer

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 at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4104f183585106fe50a14fe136b739fe6ecd709b
---

 libavformat/segment.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/segment.c b/libavformat/segment.c
index 6d693f8..df6f4b5 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;



More information about the ffmpeg-cvslog mailing list