Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
28c4cb74
Commit
28c4cb74
authored
Apr 03, 2011
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling: an URL -> a URL
U counts as a consonant when pronounced that way
parent
f4cccde5
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
17 additions
and
17 deletions
+17
-17
include/vlc_httpd.h
include/vlc_httpd.h
+1
-1
include/vlc_stream.h
include/vlc_stream.h
+1
-1
modules/control/http/util.c
modules/control/http/util.c
+1
-1
modules/demux/playlist/m3u.c
modules/demux/playlist/m3u.c
+1
-1
modules/gui/qt4/dialogs/openurl.cpp
modules/gui/qt4/dialogs/openurl.cpp
+1
-1
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+2
-2
modules/stream_out/standard.c
modules/stream_out/standard.c
+1
-1
src/misc/update.c
src/misc/update.c
+1
-1
src/network/httpd.c
src/network/httpd.c
+1
-1
src/playlist/fetcher.c
src/playlist/fetcher.c
+1
-1
src/text/strings.c
src/text/strings.c
+6
-6
No files found.
include/vlc_httpd.h
View file @
28c4cb74
...
...
@@ -110,7 +110,7 @@ VLC_EXPORT( httpd_url_t *, httpd_UrlNew, ( httpd_host_t *, const char *psz_url,
VLC_EXPORT
(
httpd_url_t
*
,
httpd_UrlNewUnique
,
(
httpd_host_t
*
,
const
char
*
psz_url
,
const
char
*
psz_user
,
const
char
*
psz_password
,
const
vlc_acl_t
*
p_acl
)
LIBVLC_USED
);
/* register callback on a url */
VLC_EXPORT
(
int
,
httpd_UrlCatch
,
(
httpd_url_t
*
,
int
i_msg
,
httpd_callback_t
,
httpd_callback_sys_t
*
)
);
/* delete a
n
url */
/* delete a url */
VLC_EXPORT
(
void
,
httpd_UrlDelete
,
(
httpd_url_t
*
)
);
/* Default client mode is FILE, use these to change it */
...
...
include/vlc_stream.h
View file @
28c4cb74
...
...
@@ -181,7 +181,7 @@ VLC_EXPORT( stream_t *, stream_MemoryNew, (vlc_object_t *p_obj, uint8_t *p_buffe
#define stream_MemoryNew( a, b, c, d ) stream_MemoryNew( VLC_OBJECT(a), b, c, d )
/**
* Create a stream_t reading from a
n
URL.
* Create a stream_t reading from a URL.
* You must delete it using stream_Delete.
*/
VLC_EXPORT
(
stream_t
*
,
stream_UrlNew
,
(
vlc_object_t
*
p_this
,
const
char
*
psz_url
)
);
...
...
modules/control/http/util.c
View file @
28c4cb74
...
...
@@ -39,7 +39,7 @@
* File and directory functions
****************************************************************************/
/* ToUrl: create a good name for a
n
url from filename */
/* ToUrl: create a good name for a url from filename */
static
char
*
FileToUrl
(
const
char
*
name
,
bool
*
pb_index
)
{
*
pb_index
=
false
;
...
...
modules/demux/playlist/m3u.c
View file @
28c4cb74
...
...
@@ -97,7 +97,7 @@ static bool ContainsURL( demux_t *p_demux )
while
(
p_peek
+
sizeof
(
"https://"
)
<
p_peek_end
)
{
/* One line starting with a
n
URL is enough */
/* One line starting with a URL is enough */
if
(
!
strncasecmp
(
(
const
char
*
)
p_peek
,
"http://"
,
7
)
||
!
strncasecmp
(
(
const
char
*
)
p_peek
,
"mms://"
,
6
)
||
!
strncasecmp
(
(
const
char
*
)
p_peek
,
"rtsp://"
,
7
)
||
...
...
modules/gui/qt4/dialogs/openurl.cpp
View file @
28c4cb74
...
...
@@ -103,7 +103,7 @@ bool OpenUrlDialog::shouldEnqueue() const
}
/** Show Event:
* When the dialog is shown, try to extract a
n
URL from the clipboard
* When the dialog is shown, try to extract a URL from the clipboard
* and paste it in the Edit box.
* showEvent can happen not only on exec() but I think it's cool to
* actualize the URL on showEvent (eg. change virtual desktop...)
...
...
modules/stream_out/rtp.c
View file @
28c4cb74
...
...
@@ -77,7 +77,7 @@
#define SDP_TEXT N_("SDP")
#define SDP_LONGTEXT N_( \
"This allows you to specify how the SDP (Session Descriptor) for this RTP "\
"session will be made available. You must use a
n
url: http://location to " \
"session will be made available. You must use a url: http://location to " \
"access the SDP via HTTP, rtsp://location for RTSP access, and sap:// " \
"for the SDP to be announced via SAP." )
#define SAP_TEXT N_("SAP announcing")
...
...
@@ -97,7 +97,7 @@
"that will be announced in the SDP (Session Descriptor)." )
#define URL_TEXT N_("Session URL")
#define URL_LONGTEXT N_( \
"This allows you to give a
n
URL with more details about the stream " \
"This allows you to give a URL with more details about the stream " \
"(often the website of the streaming organization), that will " \
"be announced in the SDP (Session Descriptor)." )
#define EMAIL_TEXT N_("Session email")
...
...
modules/stream_out/standard.c
View file @
28c4cb74
...
...
@@ -75,7 +75,7 @@
"that will be announced in the SDP (Session Descriptor)." )
#define URL_TEXT N_("Session URL")
#define URL_LONGTEXT N_( \
"This allows you to give a
n
URL with more details about the stream " \
"This allows you to give a URL with more details about the stream " \
"(often the website of the streaming organization), that will " \
"be announced in the SDP (Session Descriptor)." )
#define EMAIL_TEXT N_("Session email")
...
...
src/misc/update.c
View file @
28c4cb74
...
...
@@ -70,7 +70,7 @@
* * Z is the revision number
* * e is an OPTIONAL extra letter
* * AKA "0.8.6d" or "0.9.0"
* Second line is a
n
url of the binary for this last version
* Second line is a url of the binary for this last version
* Remaining text is a required description of the update
*/
...
...
src/network/httpd.c
View file @
28c4cb74
...
...
@@ -1283,7 +1283,7 @@ int httpd_UrlCatch( httpd_url_t *url, int i_msg, httpd_callback_t cb,
return
VLC_SUCCESS
;
}
/* delete a
n
url */
/* delete a url */
void
httpd_UrlDelete
(
httpd_url_t
*
url
)
{
httpd_host_t
*
host
=
url
->
host
;
...
...
src/playlist/fetcher.c
View file @
28c4cb74
...
...
@@ -182,7 +182,7 @@ static int FindArt( playlist_fetcher_t *p_fetcher, input_item_t *p_item )
char
*
psz_arturl
=
input_item_GetArtURL
(
p_item
);
if
(
psz_arturl
)
{
/* We already have a
n
URL */
/* We already have a URL */
if
(
!
strncmp
(
psz_arturl
,
"file://"
,
strlen
(
"file://"
)
)
)
{
free
(
psz_arturl
);
...
...
src/text/strings.c
View file @
28c4cb74
...
...
@@ -147,10 +147,10 @@ static char *encode_URI_bytes (const char *psz_uri, size_t len)
}
/**
* Encodes a
n
URI component (RFC3986 §2).
* Encodes a URI component (RFC3986 §2).
*
* @param psz_uri nul-terminated UTF-8 representation of the component.
* Obviously, you can't pass a
n
URI containing a nul character, but you don't
* Obviously, you can't pass a URI containing a nul character, but you don't
* want to do that, do you?
*
* @return encoded string (must be free()'d), or NULL for ENOMEM.
...
...
@@ -1031,8 +1031,8 @@ void path_sanitize( char *str )
#endif
/**
* Convert a file path to a
n
URI.
* If already a
n
URI, return a copy of the string.
* Convert a file path to a URI.
* If already a URI, return a copy of the string.
* @param path path to convert (or URI to copy)
* @param scheme URI scheme to use (default is auto: "file", "fd" or "smb")
* @return a nul-terminated URI string (use free() to release it),
...
...
@@ -1045,7 +1045,7 @@ char *make_URI (const char *path, const char *scheme)
if
(
scheme
==
NULL
&&
!
strcmp
(
path
,
"-"
))
return
strdup
(
"fd://0"
);
// standard input
if
(
strstr
(
path
,
"://"
)
!=
NULL
)
return
strdup
(
path
);
/* Already a
n
URI */
return
strdup
(
path
);
/* Already a URI */
/* Note: VLC cannot handle URI schemes without double slash after the
* scheme name (such as mailto: or news:). */
...
...
@@ -1145,7 +1145,7 @@ char *make_URI (const char *path, const char *scheme)
}
/**
* Tries to convert a
n
URI to a local (UTF-8-encoded) file path.
* Tries to convert a URI to a local (UTF-8-encoded) file path.
* @param url URI to convert
* @return NULL on error, a nul-terminated string otherwise
* (use free() to release it)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment