make sure the default file descriptor for the matroska muxer is an invalid one, not stdout.

This commit is contained in:
John Törnblom 2012-11-17 15:35:40 +01:00
parent 34ff0c20db
commit 70f0801c9b

View file

@ -801,6 +801,9 @@ mk_write_cues(mk_mux_t *mkm)
mk_mux_t *mk_mux_create(void)
{
mk_mux_t *mkm = calloc(1, sizeof(struct mk_mux));
mkm->fd = -1;
return mkm;
}