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
4ae81abe
Commit
4ae81abe
authored
Apr 11, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2: remove stray dead code
parent
44f8a098
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
modules/access/v4l2/demux.c
modules/access/v4l2/demux.c
+0
-9
No files found.
modules/access/v4l2/demux.c
View file @
4ae81abe
...
@@ -367,15 +367,6 @@ static int InitVideo (demux_t *demux, int fd)
...
@@ -367,15 +367,6 @@ static int InitVideo (demux_t *demux, int fd)
if
(
SetupFormat
(
demux
,
fd
,
selected
->
v4l2
,
&
fmt
,
&
parm
))
if
(
SetupFormat
(
demux
,
fd
,
selected
->
v4l2
,
&
fmt
,
&
parm
))
return
-
1
;
return
-
1
;
#if 0
uint32_t width = var_InheritInteger (demux, CFG_PREFIX"width");
if (width != (uint32_t)-1)
fmt.fmt.pix.width = width; /* override width */
uint32_t height = var_InheritInteger (demux, CFG_PREFIX"height");
if (height != (uint32_t)-1)
fmt.fmt.pix.height = height; /* override height */
#endif
/* Print extra info */
/* Print extra info */
msg_Dbg
(
demux
,
"%d bytes maximum for complete image"
,
msg_Dbg
(
demux
,
"%d bytes maximum for complete image"
,
fmt
.
fmt
.
pix
.
sizeimage
);
fmt
.
fmt
.
pix
.
sizeimage
);
...
...
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