diff options
author | wm4 <wm4@nowhere> | 2018-05-17 20:58:49 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-05-24 19:56:35 +0200 |
commit | 31b78ad7fa97d8047b609c1647a273e72612d425 (patch) | |
tree | d6a5e960ac431eef46d01b440fd504b1ac1f1159 /stream/cache.c | |
parent | 12bd4fe9abce797a3c98dc437579b163e0a8162a (diff) | |
download | mpv-31b78ad7fa97d8047b609c1647a273e72612d425.tar.bz2 mpv-31b78ad7fa97d8047b609c1647a273e72612d425.tar.xz |
misc: move mp_cancel from stream.c to thread_tools.c
It seems a bit inappropriate to have dumped this into stream.c, even if
it's roughly speaking its main user. At least it made its way somewhat
unfortunately to other components not related to the stream or demuxer
layer at all.
I'm too greedy to give this weird helper its own file, so dump it into
thread_tools.c.
Probably a somewhat pointless change.
Diffstat (limited to 'stream/cache.c')
-rw-r--r-- | stream/cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/cache.c b/stream/cache.c index fb7927f0b1..424f27910f 100644 --- a/stream/cache.c +++ b/stream/cache.c @@ -54,6 +54,7 @@ #include "common/msg.h" #include "common/tags.h" +#include "misc/thread_tools.h" #include "options/options.h" #include "stream.h" |