Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-04-11 04:59:12 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-04-11 05:34:00 +0300
commit0c9ad94e97baeb435ec6fc46ab19c16304a534dd (patch)
treecc7a6544fefe642e330491eb74c5da436e115897 /libavformat/dashenc.c
parent4104f183585106fe50a14fe136b739fe6ecd709b (diff)
avformat/dashenc: 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/dashenc.c')
-rw-r--r--libavformat/dashenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 8ddf0f36e6..519f9c4440 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -632,6 +632,7 @@ static int dash_write_header(AVFormatContext *s)
st->sample_aspect_ratio = s->streams[i]->sample_aspect_ratio;
st->time_base = s->streams[i]->time_base;
ctx->avoid_negative_ts = s->avoid_negative_ts;
+ ctx->flags = s->flags;
ctx->pb = avio_alloc_context(os->iobuf, sizeof(os->iobuf), AVIO_FLAG_WRITE, os, NULL, dash_write, NULL);
if (!ctx->pb) {