diff options
Diffstat (limited to 'stream/stream_file.c')
-rw-r--r-- | stream/stream_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_file.c b/stream/stream_file.c index 785e96b12c..20b4d7c0c3 100644 --- a/stream/stream_file.c +++ b/stream/stream_file.c @@ -365,7 +365,7 @@ static int open_f(stream_t *stream) p->cancel = mp_cancel_new(p); if (stream->cancel) - mp_cancel_add_slave(stream->cancel, p->cancel); + mp_cancel_set_parent(p->cancel, stream->cancel); return STREAM_OK; } |