Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
28ea8cc2
Commit
28ea8cc2
authored
Oct 15, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/control/http.c: small bug fix. * mozilla/vlcshell.cpp: win32 fix.
parent
a4f4d02f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
modules/control/http.c
modules/control/http.c
+2
-2
mozilla/vlcshell.cpp
mozilla/vlcshell.cpp
+6
-7
No files found.
modules/control/http.c
View file @
28ea8cc2
...
...
@@ -2,7 +2,7 @@
* http.c : http mini-server ;)
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: http.c,v 1.2
1 2003/08/01 17:30:33 fenrir
Exp $
* $Id: http.c,v 1.2
2 2003/10/15 07:34:24 gbazin
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
* Laurent Aimar <fenrir@via.ecp.fr>
...
...
@@ -581,7 +581,7 @@ static int ParseDirectory( intf_thread_t *p_intf, char *psz_root,
#define fold p_sys->pp_files[p_sys->i_files-1]
/* FIXME for rep/ add rep (it would be better to do a redirection) */
if
(
strlen
(
fold
->
name
)
>
1
&&
if
(
p_sys
->
i_files
&&
strlen
(
fold
->
name
)
>
1
&&
fold
->
name
[
strlen
(
fold
->
name
)
-
1
]
==
'/'
)
{
f
=
malloc
(
sizeof
(
httpd_file_callback_args_t
)
);
...
...
mozilla/vlcshell.cpp
View file @
28ea8cc2
...
...
@@ -2,7 +2,7 @@
* vlcshell.cpp: a VLC plugin for Mozilla
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: vlcshell.cpp,v 1.2
4 2003/09/23 16:07:48
gbazin Exp $
* $Id: vlcshell.cpp,v 1.2
5 2003/10/15 07:34:25
gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -302,11 +302,10 @@ NPError NPP_New( NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,
ppsz_argv
[
2
]
=
plugin_path
;
#elif defined(XP_WIN)
char
*
ppsz_argv
[]
=
{
"vlc"
,
"--plugin-path"
,
NULL
,
"-vv"
};
char
*
ppsz_argv
[]
=
{
NULL
,
"-vv"
};
HKEY
h_key
;
DWORD
i_type
,
i_data
;
DWORD
i_type
,
i_data
=
MAX_PATH
+
1
;
char
p_data
[
MAX_PATH
+
1
];
if
(
RegOpenKeyEx
(
HKEY_LOCAL_MACHINE
,
"Software
\\
VideoLAN
\\
VLC"
,
0
,
KEY_READ
,
&
h_key
)
==
ERROR_SUCCESS
)
{
...
...
@@ -315,14 +314,14 @@ NPError NPP_New( NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,
{
if
(
i_type
==
REG_SZ
)
{
strcat
(
p_data
,
"
\\
plugins
"
);
ppsz_argv
[
2
]
=
p_data
;
strcat
(
p_data
,
"
\\
vlc
"
);
ppsz_argv
[
0
]
=
p_data
;
}
}
RegCloseKey
(
h_key
);
}
if
(
!
ppsz_argv
[
2
]
)
ppsz_argv
[
2
]
=
".
"
;
if
(
!
ppsz_argv
[
0
]
)
ppsz_argv
[
0
]
=
"vlc
"
;
#else
char
*
ppsz_argv
[]
=
...
...
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