[vlc-commits] input: export get_path from access.c
Jean-Baptiste Kempf
git at videolan.org
Wed Dec 5 23:39:40 CET 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec 5 23:14:55 2012 +0100| [269297b0ce90a8202606680c5a43819866489799] | committer: Jean-Baptiste Kempf
input: export get_path from access.c
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=269297b0ce90a8202606680c5a43819866489799
---
src/input/access.c | 2 +-
src/input/access.h | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/input/access.c b/src/input/access.c
index 6c56943..850fccd 100644
--- a/src/input/access.c
+++ b/src/input/access.c
@@ -31,7 +31,7 @@
#include <vlc_modules.h>
/* Decode URL (which has had its scheme stripped earlier) to a file path. */
-static char *get_path(const char *location)
+char *get_path(const char *location)
{
char *url, *path;
diff --git a/src/input/access.h b/src/input/access.h
index 1b7de91..d16d27b 100644
--- a/src/input/access.h
+++ b/src/input/access.h
@@ -34,5 +34,7 @@ access_t *access_New( vlc_object_t *p_obj, input_thread_t *p_input,
#define access_New( a, b, c, d, e ) access_New(VLC_OBJECT(a), b, c, d, e )
void access_Delete( access_t * );
+char *get_path(const char *location);
+
#endif
More information about the vlc-commits
mailing list