From 31b78ad7fa97d8047b609c1647a273e72612d425 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 17 May 2018 20:58:49 +0200 Subject: 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. --- demux/demux.c | 1 + 1 file changed, 1 insertion(+) (limited to 'demux/demux.c') diff --git a/demux/demux.c b/demux/demux.c index f386c3c2ae..0edfaa95bf 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -34,6 +34,7 @@ #include "mpv_talloc.h" #include "common/msg.h" #include "common/global.h" +#include "misc/thread_tools.h" #include "osdep/atomic.h" #include "osdep/threads.h" -- cgit v1.2.3