diff options
author | wm4 <wm4@nowhere> | 2020-03-05 10:55:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-03-05 22:00:50 +0100 |
commit | 3b8b7cb9d481828953f105f92bacc07a3cb2f332 (patch) | |
tree | b19e29777f917cfbe06b48fd6e161cde09d3a82b /stream/stream.c | |
parent | fc8c1fcfb2b66d3a05f6d94f8dfffac34207900c (diff) | |
download | mpv-3b8b7cb9d481828953f105f92bacc07a3cb2f332.tar.bz2 mpv-3b8b7cb9d481828953f105f92bacc07a3cb2f332.tar.xz |
stream_smb: remove this
This required libsmbclient, which is a heavy dependency, and as a
library, has all kinds of problems. For one, the API requires completely
unacceptable global state (in particular, leaks auth state), and is not
thread-safe (meaning concurrent reads to multiple files block each
other).
There are better replacements: you can use the Linux kernel's builtin
CIFS support, fusesmb, or contribute supoport for libdsm.
Diffstat (limited to 'stream/stream.c')
-rw-r--r-- | stream/stream.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/stream/stream.c b/stream/stream.c index a3285e4d8f..c8b3d34a51 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -44,7 +44,6 @@ extern const stream_info_t stream_info_cdda; extern const stream_info_t stream_info_dvb; -extern const stream_info_t stream_info_smb; extern const stream_info_t stream_info_null; extern const stream_info_t stream_info_memory; extern const stream_info_t stream_info_mf; @@ -71,9 +70,6 @@ static const stream_info_t *const stream_list[] = { #if HAVE_DVBIN &stream_info_dvb, #endif -#if HAVE_LIBSMBCLIENT - &stream_info_smb, -#endif #if HAVE_DVDNAV &stream_info_ifo_dvdnav, &stream_info_dvdnav, |