projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44ede21
)
dashenc: don't write header data before the first packet arrives
author
Peter Große
<pegro@friiks.de>
Thu, 26 Oct 2017 15:58:37 +0000
(17:58 +0200)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Sun, 29 Oct 2017 17:28:40 +0000
(18:28 +0100)
Fixes:
1b8ef01f04ab
("dashenc: add webm support")
Signed-off-by: Peter Große <pegro@friiks.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/dashenc.c
patch
|
blob
|
history
diff --git
a/libavformat/dashenc.c
b/libavformat/dashenc.c
index
0ca7cf5
..
23b2d3f
100644
(file)
--- a/
libavformat/dashenc.c
+++ b/
libavformat/dashenc.c
@@
-782,7
+782,7
@@
static int dash_init(AVFormatContext *s)
av_dict_set_int(&opts, "dash_track_number", i + 1, 0);
av_dict_set_int(&opts, "live", 1, 0);
}
- if ((ret = avformat_
write_header
(ctx, &opts)) < 0)
+ if ((ret = avformat_
init_output
(ctx, &opts)) < 0)
return ret;
os->ctx_inited = 1;
avio_flush(ctx->pb);