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
ceeacab6
Commit
ceeacab6
authored
May 25, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DVB: remove unused parameter
parent
b92e5095
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
8 deletions
+5
-8
modules/access/dtv/access.c
modules/access/dtv/access.c
+2
-2
modules/access/dtv/bdagraph.cpp
modules/access/dtv/bdagraph.cpp
+1
-4
modules/access/dtv/dtv.h
modules/access/dtv/dtv.h
+1
-1
modules/access/dtv/linux.c
modules/access/dtv/linux.c
+1
-1
No files found.
modules/access/dtv/access.c
View file @
ceeacab6
...
...
@@ -361,9 +361,8 @@ static int Open (vlc_object_t *obj)
return
VLC_ENOMEM
;
var_LocationParse
(
obj
,
access
->
psz_location
,
"dvb-"
);
unsigned
freq
=
var_InheritFrequency
(
obj
);
dvb_device_t
*
dev
=
dvb_open
(
obj
,
freq
!=
0
);
dvb_device_t
*
dev
=
dvb_open
(
obj
);
if
(
dev
==
NULL
)
{
free
(
sys
);
...
...
@@ -373,6 +372,7 @@ static int Open (vlc_object_t *obj)
sys
->
dev
=
dev
;
access
->
p_sys
=
sys
;
unsigned
freq
=
var_InheritFrequency
(
obj
);
if
(
freq
!=
0
)
{
const
delsys_t
*
delsys
=
GuessSystem
(
access
->
psz_access
,
dev
);
...
...
modules/access/dtv/bdagraph.cpp
View file @
ceeacab6
...
...
@@ -130,11 +130,8 @@ struct dvb_device
uint32_t
lowf
,
highf
,
switchf
;
};
dvb_device_t
*
dvb_open
(
vlc_object_t
*
obj
,
bool
tune
)
dvb_device_t
*
dvb_open
(
vlc_object_t
*
obj
)
{
if
(
!
tune
)
return
NULL
;
/* not implemented (yet?) */
dvb_device_t
*
d
=
new
dvb_device_t
;
d
->
module
=
new
BDAGraph
(
obj
);
...
...
modules/access/dtv/dtv.h
View file @
ceeacab6
...
...
@@ -32,7 +32,7 @@ extern const delsys_t dvbc, dvbs, dvbs2, dvbt, dvbt2, atsc, cqam;
typedef
struct
dvb_device
dvb_device_t
;
dvb_device_t
*
dvb_open
(
vlc_object_t
*
obj
,
bool
tune
);
dvb_device_t
*
dvb_open
(
vlc_object_t
*
obj
);
void
dvb_close
(
dvb_device_t
*
);
ssize_t
dvb_read
(
dvb_device_t
*
,
void
*
,
size_t
);
...
...
modules/access/dtv/linux.c
View file @
ceeacab6
...
...
@@ -192,7 +192,7 @@ struct dvb_device
/**
* Opens the DVB tuner
*/
dvb_device_t
*
dvb_open
(
vlc_object_t
*
obj
,
bool
tune
)
dvb_device_t
*
dvb_open
(
vlc_object_t
*
obj
)
{
dvb_device_t
*
d
=
malloc
(
sizeof
(
*
d
));
if
(
unlikely
(
d
==
NULL
))
...
...
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