Browse Source

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@niedermayer.cc>
tags/n3.1
Michael Niedermayer 9 years ago
parent
commit
15fa01786c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/hdsenc.c

+ 1
- 0
libavformat/hdsenc.c View File

@@ -374,6 +374,7 @@ static int hds_write_header(AVFormatContext *s)
os->ctx = ctx; os->ctx = ctx;
ctx->oformat = oformat; ctx->oformat = oformat;
ctx->interrupt_callback = s->interrupt_callback; ctx->interrupt_callback = s->interrupt_callback;
ctx->flags = s->flags;


ctx->pb = avio_alloc_context(os->iobuf, sizeof(os->iobuf), ctx->pb = avio_alloc_context(os->iobuf, sizeof(os->iobuf),
AVIO_FLAG_WRITE, os, AVIO_FLAG_WRITE, os,


Loading…
Cancel
Save