Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
8aa3a9c4
Commit
8aa3a9c4
authored
Apr 30, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disc reading libs want ANSI rather than
UTF-8
paths - fixes #1560
parent
0fd1b747
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
5 deletions
+10
-5
modules/access/cdda.c
modules/access/cdda.c
+2
-1
modules/access/dvdnav.c
modules/access/dvdnav.c
+2
-1
modules/access/dvdread.c
modules/access/dvdread.c
+2
-1
modules/access/vcd/vcd.c
modules/access/vcd/vcd.c
+1
-1
modules/access/vcdx/access.c
modules/access/vcdx/access.c
+2
-1
modules/access/vcdx/vcd.c
modules/access/vcdx/vcd.c
+1
-0
No files found.
modules/access/cdda.c
View file @
8aa3a9c4
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
#include <vlc_input.h>
#include <vlc_input.h>
#include <vlc_access.h>
#include <vlc_access.h>
#include <vlc_meta.h>
#include <vlc_meta.h>
#include <vlc_charset.h>
#include <vlc_codecs.h>
/* For WAVEHEADER */
#include <vlc_codecs.h>
/* For WAVEHEADER */
#include "vcd/cdrom.h"
#include "vcd/cdrom.h"
...
@@ -158,7 +159,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -158,7 +159,7 @@ static int Open( vlc_object_t *p_this )
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
}
}
else
psz_name
=
strd
up
(
p_access
->
psz_path
);
else
psz_name
=
ToLocaleD
up
(
p_access
->
psz_path
);
#ifdef WIN32
#ifdef WIN32
if
(
psz_name
[
0
]
&&
psz_name
[
1
]
==
':'
&&
if
(
psz_name
[
0
]
&&
psz_name
[
1
]
==
':'
&&
...
...
modules/access/dvdnav.c
View file @
8aa3a9c4
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include <vlc_input.h>
#include <vlc_input.h>
#include <vlc_access.h>
#include <vlc_access.h>
#include <vlc_demux.h>
#include <vlc_demux.h>
#include <vlc_charset.h>
#include <vlc_interface.h>
#include <vlc_interface.h>
...
@@ -189,7 +190,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -189,7 +190,7 @@ static int Open( vlc_object_t *p_this )
}
}
}
}
else
else
psz_name
=
strd
up
(
p_demux
->
psz_path
);
psz_name
=
ToLocaleD
up
(
p_demux
->
psz_path
);
#ifdef WIN32
#ifdef WIN32
if
(
psz_name
[
0
]
&&
psz_name
[
1
]
==
':'
&&
if
(
psz_name
[
0
]
&&
psz_name
[
1
]
==
':'
&&
...
...
modules/access/dvdread.c
View file @
8aa3a9c4
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include <vlc/vlc.h>
#include <vlc/vlc.h>
#include <vlc_input.h>
#include <vlc_input.h>
#include <vlc_access.h>
#include <vlc_access.h>
#include <vlc_charset.h>
#include <vlc_interface.h>
#include <vlc_interface.h>
...
@@ -203,7 +204,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -203,7 +204,7 @@ static int Open( vlc_object_t *p_this )
}
}
}
}
else
else
psz_name
=
strd
up
(
p_demux
->
psz_path
);
psz_name
=
ToLocaleD
up
(
p_demux
->
psz_path
);
#ifdef WIN32
#ifdef WIN32
if
(
psz_name
[
0
]
&&
psz_name
[
1
]
==
':'
&&
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 )
...
@@ -94,7 +94,7 @@ static int Open( vlc_object_t *p_this )
{
{
access_t
*
p_access
=
(
access_t
*
)
p_this
;
access_t
*
p_access
=
(
access_t
*
)
p_this
;
access_sys_t
*
p_sys
;
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
;
char
*
psz
;
int
i_title
=
0
;
int
i_title
=
0
;
int
i_chapter
=
0
;
int
i_chapter
=
0
;
...
...
modules/access/vcdx/access.c
View file @
8aa3a9c4
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
#include <vlc_interface.h>
#include <vlc_interface.h>
#include <vlc_input.h>
#include <vlc_input.h>
#include <vlc_access.h>
#include <vlc_access.h>
#include <vlc_charset.h>
#include "vlc_keys.h"
#include "vlc_keys.h"
#include <cdio/cdio.h>
#include <cdio/cdio.h>
...
@@ -759,7 +760,7 @@ vcd_Open( vlc_object_t *p_this, const char *psz_dev )
...
@@ -759,7 +760,7 @@ vcd_Open( vlc_object_t *p_this, const char *psz_dev )
if
(
!
psz_dev
)
return
NULL
;
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
)
!=
if
(
vcdinfo_open
(
&
p_vcdobj
,
&
actual_dev
,
DRIVER_UNKNOWN
,
NULL
)
!=
VCDINFO_OPEN_VCD
)
{
VCDINFO_OPEN_VCD
)
{
free
(
actual_dev
);
free
(
actual_dev
);
...
...
modules/access/vcdx/vcd.c
View file @
8aa3a9c4
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
#endif
#endif
#include <vlc/vlc.h>
#include <vlc/vlc.h>
#include <vlc_charset.h>
/*****************************************************************************
/*****************************************************************************
* Exported prototypes
* Exported prototypes
...
...
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