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
5aca149e
Commit
5aca149e
authored
Dec 06, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IFO: fix non-ASCII paths
parent
0084980f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
modules/demux/playlist/ifo.c
modules/demux/playlist/ifo.c
+1
-5
No files found.
modules/demux/playlist/ifo.c
View file @
5aca149e
...
@@ -102,14 +102,10 @@ void Close_IFO( vlc_object_t *p_this )
...
@@ -102,14 +102,10 @@ void Close_IFO( vlc_object_t *p_this )
static
int
Demux
(
demux_t
*
p_demux
)
static
int
Demux
(
demux_t
*
p_demux
)
{
{
size_t
len
=
strlen
(
"dvd://"
)
+
strlen
(
p_demux
->
psz_file
)
-
strlen
(
"VIDEO_TS.IFO"
);
char
*
psz_url
;
char
*
psz_url
;
psz_url
=
malloc
(
len
+
1
);
if
(
asprintf
(
&
psz_url
,
"dvd://%s"
,
p_demux
->
psz_location
)
==
-
1
)
if
(
!
psz_url
)
return
0
;
return
0
;
snprintf
(
psz_url
,
len
+
1
,
"dvd://%s"
,
p_demux
->
psz_file
);
input_item_t
*
p_current_input
=
GetCurrentItem
(
p_demux
);
input_item_t
*
p_current_input
=
GetCurrentItem
(
p_demux
);
input_item_t
*
p_input
=
input_item_New
(
p_demux
,
psz_url
,
psz_url
);
input_item_t
*
p_input
=
input_item_New
(
p_demux
,
psz_url
,
psz_url
);
...
...
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