make sure the default file descriptor for the matroska muxer is an invalid one, not stdout.
This commit is contained in:
parent
34ff0c20db
commit
70f0801c9b
1 changed files with 3 additions and 0 deletions
|
@ -801,6 +801,9 @@ mk_write_cues(mk_mux_t *mkm)
|
||||||
mk_mux_t *mk_mux_create(void)
|
mk_mux_t *mk_mux_create(void)
|
||||||
{
|
{
|
||||||
mk_mux_t *mkm = calloc(1, sizeof(struct mk_mux));
|
mk_mux_t *mkm = calloc(1, sizeof(struct mk_mux));
|
||||||
|
|
||||||
|
mkm->fd = -1;
|
||||||
|
|
||||||
return mkm;
|
return mkm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue