Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
8aa3a9c4
Commit
8aa3a9c4
authored
Apr 30, 2008
by
Rémi Denis-Courmont
Browse files
Disc reading libs want ANSI rather than UTF-8 paths - fixes #1560
parent
0fd1b747
Changes
6
Hide whitespace changes
Inline
Side-by-side
modules/access/cdda.c
View file @
8aa3a9c4
...
...
@@ -40,6 +40,7 @@
#include
<vlc_input.h>
#include
<vlc_access.h>
#include
<vlc_meta.h>
#include
<vlc_charset.h>
#include
<vlc_codecs.h>
/* For WAVEHEADER */
#include
"vcd/cdrom.h"
...
...
@@ -158,7 +159,7 @@ static int Open( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
}
else
psz_name
=
strd
up
(
p_access
->
psz_path
);
else
psz_name
=
ToLocaleD
up
(
p_access
->
psz_path
);
#ifdef WIN32
if
(
psz_name
[
0
]
&&
psz_name
[
1
]
==
':'
&&
...
...
modules/access/dvdnav.c
View file @
8aa3a9c4
...
...
@@ -33,6 +33,7 @@
#include
<vlc_input.h>
#include
<vlc_access.h>
#include
<vlc_demux.h>
#include
<vlc_charset.h>
#include
<vlc_interface.h>
...
...
@@ -189,7 +190,7 @@ static int Open( vlc_object_t *p_this )
}
}
else
psz_name
=
strd
up
(
p_demux
->
psz_path
);
psz_name
=
ToLocaleD
up
(
p_demux
->
psz_path
);
#ifdef WIN32
if
(
psz_name
[
0
]
&&
psz_name
[
1
]
==
':'
&&
...
...
modules/access/dvdread.c
View file @
8aa3a9c4
...
...
@@ -33,6 +33,7 @@
#include
<vlc/vlc.h>
#include
<vlc_input.h>
#include
<vlc_access.h>
#include
<vlc_charset.h>
#include
<vlc_interface.h>
...
...
@@ -203,7 +204,7 @@ static int Open( vlc_object_t *p_this )
}
}
else
psz_name
=
strd
up
(
p_demux
->
psz_path
);
psz_name
=
ToLocaleD
up
(
p_demux
->
psz_path
);
#ifdef WIN32
if
(
psz_name
[
0
]
&&
psz_name
[
1
]
==
':'
&&
...
...
modules/access/vcd/vcd.c
View file @
8aa3a9c4
...
...
@@ -94,7 +94,7 @@ static int Open( vlc_object_t *p_this )
{
access_t
*
p_access
=
(
access_t
*
)
p_this
;
access_sys_t
*
p_sys
;
char
*
psz_dup
=
strd
up
(
p_access
->
psz_path
);
char
*
psz_dup
=
ToLocaleD
up
(
p_access
->
psz_path
);
char
*
psz
;
int
i_title
=
0
;
int
i_chapter
=
0
;
...
...
modules/access/vcdx/access.c
View file @
8aa3a9c4
...
...
@@ -37,6 +37,7 @@
#include
<vlc_interface.h>
#include
<vlc_input.h>
#include
<vlc_access.h>
#include
<vlc_charset.h>
#include
"vlc_keys.h"
#include
<cdio/cdio.h>
...
...
@@ -759,7 +760,7 @@ vcd_Open( vlc_object_t *p_this, const char *psz_dev )
if
(
!
psz_dev
)
return
NULL
;
actual_dev
=
strd
up
(
psz_dev
);
actual_dev
=
ToLocaleD
up
(
psz_dev
);
if
(
vcdinfo_open
(
&
p_vcdobj
,
&
actual_dev
,
DRIVER_UNKNOWN
,
NULL
)
!=
VCDINFO_OPEN_VCD
)
{
free
(
actual_dev
);
...
...
modules/access/vcdx/vcd.c
View file @
8aa3a9c4
...
...
@@ -34,6 +34,7 @@
#endif
#include
<vlc/vlc.h>
#include
<vlc_charset.h>
/*****************************************************************************
* Exported prototypes
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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