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

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


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

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

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

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

diff --git a/libavformat/hdsenc.c b/libavformat/hdsenc.c
index e56b3c4..347df83 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,



More information about the ffmpeg-cvslog mailing list