diff options
author | wm4 <wm4@nowhere> | 2013-09-04 14:04:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-04 16:15:08 +0200 |
commit | efc5ac17bf0a563cc4200252e8d4718731dc9fde (patch) | |
tree | 86eeedc8abf1170b2c91abda2df632a0458e8eb6 /mpvcore/path.h | |
parent | dbff29c81d3127d69e97abcf7001f4b798898a81 (diff) | |
download | mpv-efc5ac17bf0a563cc4200252e8d4718731dc9fde.tar.bz2 mpv-efc5ac17bf0a563cc4200252e8d4718731dc9fde.tar.xz |
path: add a common mp_is_url() function
Remove the duplicated code.
Diffstat (limited to 'mpvcore/path.h')
-rw-r--r-- | mpvcore/path.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mpvcore/path.h b/mpvcore/path.h index 9728dc7399..52656f8fc2 100644 --- a/mpvcore/path.h +++ b/mpvcore/path.h @@ -63,4 +63,6 @@ char *mp_getcwd(void *talloc_ctx); bool mp_path_exists(const char *path); bool mp_path_isdir(const char *path); +bool mp_is_url(bstr path); + #endif /* MPLAYER_PATH_H */ |