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
c1c8211f
Commit
c1c8211f
authored
Jan 09, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ALL: MSVC compilation fixes.
parent
614e91f2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
14 deletions
+26
-14
Makefile.am
Makefile.am
+1
-1
include/modules_inner.h
include/modules_inner.h
+4
-3
modules/access/http.c
modules/access/http.c
+14
-6
src/misc/net.c
src/misc/net.c
+5
-2
src/misc/win32_specific.c
src/misc/win32_specific.c
+2
-2
No files found.
Makefile.am
View file @
c1c8211f
...
...
@@ -318,7 +318,7 @@ SOURCES_libvlc_common = \
src/playlist/group.c
\
src/playlist/item.c
\
src/playlist/item-ext.c
\
src/playlist/info.c
\
src/playlist/info.c
\
src/input/input.c
\
src/input/es_out.c
\
src/input/stream.c
\
...
...
include/modules_inner.h
View file @
c1c8211f
...
...
@@ -2,7 +2,7 @@
* modules_inner.h : Macros used from within a module.
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: modules_inner.h,v 1.4
2 2003/12/15 15:06:23 hartma
n Exp $
* $Id: modules_inner.h,v 1.4
3 2004/01/09 12:23:47 gbazi
n Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -93,6 +93,7 @@
{ \
int i_shortcut = 1, i_config = -1; \
module_config_t *p_config = NULL; \
static module_config_t config_end = {CONFIG_HINT_END}; \
STORE_SYMBOLS; \
p_module->b_submodule = VLC_FALSE; \
p_module->b_unloadable = VLC_TRUE; \
...
...
@@ -114,11 +115,11 @@
} \
if( p_config ) \
{ \
p_config[ ++i_config ] =
(module_config_t){ CONFIG_HINT_END };
\
p_config[ ++i_config ] =
config_end;
\
config_Duplicate( p_module, p_config ); \
free( p_config ); \
} \
else config_Duplicate(
p_module, &(module_config_t){CONFIG_HINT_END});
\
else config_Duplicate(
p_module, &config_end );
\
if( p_module->p_config == NULL ) \
{ \
return VLC_EGENERIC; \
...
...
modules/access/http.c
View file @
c1c8211f
...
...
@@ -2,7 +2,7 @@
* http.c: HTTP access plug-in
*****************************************************************************
* Copyright (C) 2001-2004 VideoLAN
* $Id: http.c,v 1.5
1 2004/01/07 15:21:27 fenrir
Exp $
* $Id: http.c,v 1.5
2 2004/01/09 12:23:47 gbazin
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -234,12 +234,15 @@ static int Open ( vlc_object_t *p_this )
}
}
if
(
(
p_sys
->
i_code
==
301
||
p_sys
->
i_code
==
302
||
p_sys
->
i_code
==
303
||
p_sys
->
i_code
==
307
)
&&
if
(
(
p_sys
->
i_code
==
301
||
p_sys
->
i_code
==
302
||
p_sys
->
i_code
==
303
||
p_sys
->
i_code
==
307
)
&&
p_sys
->
psz_location
&&
*
p_sys
->
psz_location
)
{
playlist_t
*
p_playlist
;
msg_Dbg
(
p_input
,
"redirection to %s"
,
p_sys
->
psz_location
);
p
laylist_t
*
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_input
,
VLC_OBJECT_PLAYLIST
,
FIND_PARENT
);
p
_playlist
=
vlc_object_find
(
p_input
,
VLC_OBJECT_PLAYLIST
,
FIND_PARENT
);
if
(
!
p_playlist
)
{
msg_Err
(
p_input
,
"redirection failed: can't find playlist"
);
...
...
@@ -399,8 +402,11 @@ static void ParseURL( access_sys_t *p_sys, char *psz_url )
/* Parse auth */
if
(
(
p
=
strchr
(
psz
,
'@'
)
)
)
{
char
*
comma
;
*
p
++
=
'\0'
;
char
*
comma
=
strchr
(
psz
,
':'
);
comma
=
strchr
(
psz
,
':'
);
/* Retreive user:password */
if
(
comma
)
{
...
...
@@ -477,9 +483,11 @@ static int Connect( input_thread_t *p_input, vlc_bool_t *pb_seekable, off_t *pi_
/* Authentification */
if
(
p_sys
->
psz_user
&&
*
p_sys
->
psz_user
)
{
char
buf
[
strlen
(
p_sys
->
psz_user
)
+
1
+
strlen
(
p_sys
->
psz_passwd
?
p_sys
->
psz_passwd
:
""
)
+
1
]
;
char
*
buf
;
char
*
b64
;
sprintf
(
buf
,
"%s:%s"
,
p_sys
->
psz_user
,
p_sys
->
psz_passwd
?
p_sys
->
psz_passwd
:
""
);
vasprintf
(
&
buf
,
"%s:%s"
,
p_sys
->
psz_user
,
p_sys
->
psz_passwd
?
p_sys
->
psz_passwd
:
""
);
b64
=
b64_encode
(
buf
);
...
...
src/misc/net.c
View file @
c1c8211f
...
...
@@ -2,7 +2,7 @@
* net.c:
*****************************************************************************
* Copyright (C) 2004 VideoLAN
* $Id: net.c,v 1.
4 2004/01/07 23:39:41 fenrir
Exp $
* $Id: net.c,v 1.
5 2004/01/09 12:23:46 gbazin
Exp $
*
* Authors: Laurent Aimar <fenrir@videolan.org>
*
...
...
@@ -51,7 +51,10 @@
# include <sys/socket.h>
#endif
#include <unistd.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include "network.h"
...
...
src/misc/win32_specific.c
View file @
c1c8211f
...
...
@@ -2,7 +2,7 @@
* win32_specific.c: Win32 specific features
*****************************************************************************
* Copyright (C) 2001-2004 VideoLAN
* $Id: win32_specific.c,v 1.3
0 2004/01/06 12:02:06 zorglub
Exp $
* $Id: win32_specific.c,v 1.3
1 2004/01/09 12:23:46 gbazin
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -329,7 +329,7 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
for
(
j
=
0
;
j
<
i_options
;
j
++
)
{
playlist_AddOption
(
p_playlist
,
i_pos
,
&
ppsz_argv
[
i_opt
+
1
+
j
]
);
ppsz_argv
[
i_opt
+
1
+
j
]
);
}
i_opt
+=
i_options
;
}
...
...
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