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
c878a14a
Commit
c878a14a
authored
Jan 02, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cdrom.c: code cosmetic and includes removal
parent
034e01d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
modules/access/vcd/cdrom.c
modules/access/vcd/cdrom.c
+3
-6
No files found.
modules/access/vcd/cdrom.c
View file @
c878a14a
...
...
@@ -46,15 +46,13 @@
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
#include <limits.h>
#include <vlc_common.h>
#include <vlc_access.h>
#include <vlc_charset.h>
#include <vlc_fs.h>
#include <
limits
.h>
#include <
vlc_meta
.h>
#if defined( SYS_BSDI )
# include <dvd.h>
...
...
@@ -141,7 +139,6 @@ exit_free:
#include "cdrom_internals.h"
#include "cdrom.h"
#include <vlc_meta.h>
/*****************************************************************************
* ioctl_Open: Opens a VCD device or file and returns an opaque handle
...
...
@@ -821,7 +818,7 @@ static int OpenVCDImage( vlc_object_t * p_this, const char *psz_dev,
msg_Dbg
(
p_this
,
"guessing vcd image file: %s"
,
psz_vcdfile
);
p_vcddev
->
i_vcdimage_handle
=
vlc_open
(
psz_vcdfile
,
O_RDONLY
|
O_NONBLOCK
|
O_BINARY
);
while
(
fgets
(
line
,
1024
,
cuefile
)
&&
!
b_found
)
{
/* We have a cue file, but no valid vcd file yet */
...
...
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