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
fe5605fa
Commit
fe5605fa
authored
Jul 01, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code (CID #2)
parent
93198986
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
modules/access/vcd/cdrom.c
modules/access/vcd/cdrom.c
+3
-11
No files found.
modules/access/vcd/cdrom.c
View file @
fe5605fa
...
...
@@ -828,17 +828,9 @@ static int OpenVCDImage( vlc_object_t * p_this, const char *psz_dev,
{
/* psz_dev must be the cue file. Let's assume there's a .bin
* file with the same filename */
if
(
p_pos
)
{
psz_vcdfile
=
malloc
(
p_pos
-
psz_dev
+
5
/* ".bin" */
);
strncpy
(
psz_vcdfile
,
psz_dev
,
p_pos
-
psz_dev
);
strcpy
(
psz_vcdfile
+
(
p_pos
-
psz_dev
),
".bin"
);
}
else
{
psz_vcdfile
=
malloc
(
strlen
(
psz_dev
)
+
5
/* ".bin" */
);
sprintf
(
psz_vcdfile
,
"%s.bin"
,
psz_dev
);
}
psz_vcdfile
=
malloc
(
p_pos
-
psz_dev
+
5
/* ".bin" */
);
strncpy
(
psz_vcdfile
,
psz_dev
,
p_pos
-
psz_dev
);
strcpy
(
psz_vcdfile
+
(
p_pos
-
psz_dev
),
".bin"
);
psz_cuefile
=
strdup
(
psz_dev
);
}
else
...
...
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