summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-27 12:37:47 +0200
committerwm4 <wm4@nowhere>2017-06-29 10:30:13 +0200
commit70a70b9da347d7ef25a9862af83731b9b0a0d3f1 (patch)
tree541ad35c45560d81498fe246de1a6f70f5a8265f /demux
parent0b77f6fd229f537a309f1d5b37469392e65d279e (diff)
downloadmpv-70a70b9da347d7ef25a9862af83731b9b0a0d3f1.tar.bz2
mpv-70a70b9da347d7ef25a9862af83731b9b0a0d3f1.tar.xz
build: replace glob() check and assume it's always in POSIX
POSIX requires glob(), so no need to check for it. Together with the fact that we can emulate glob() on Windows, glob() is always available.
Diffstat (limited to 'demux')
-rw-r--r--demux/demux_mf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/demux/demux_mf.c b/demux/demux_mf.c
index 02b95e1c15..012854a32f 100644
--- a/demux/demux_mf.c
+++ b/demux/demux_mf.c
@@ -115,7 +115,6 @@ static mf_t *open_mf_pattern(void *talloc_ctx, struct mp_log *log, char *filenam
char *fname = talloc_size(mf, strlen(filename) + 32);
-#if HAVE_GLOB || HAVE_GLOB_WIN32_REPLACEMENT
if (!strchr(filename, '%')) {
strcpy(fname, filename);
if (!strchr(filename, '*'))
@@ -138,7 +137,6 @@ static mf_t *open_mf_pattern(void *talloc_ctx, struct mp_log *log, char *filenam
globfree(&gg);
goto exit_mf;
}
-#endif
mp_info(log, "search expr: %s\n", filename);