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
20751c54
Commit
20751c54
authored
Aug 12, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OpenCV example: drop an unused variable
parent
f56a508a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
modules/video_filter/opencv_example.c
modules/video_filter/opencv_example.c
+0
-2
No files found.
modules/video_filter/opencv_example.c
View file @
20751c54
...
...
@@ -145,7 +145,6 @@ static void CloseFilter( vlc_object_t *p_this )
static
picture_t
*
Filter
(
filter_t
*
p_filter
,
picture_t
*
p_pic
)
{
IplImage
**
p_img
=
NULL
;
int
i_planes
=
0
;
CvPoint
pt1
,
pt2
;
int
i
,
scale
=
1
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
...
...
@@ -157,7 +156,6 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
}
//(hack) cast the picture_t to array of IplImage*
p_img
=
(
IplImage
**
)
p_pic
;
i_planes
=
p_pic
->
i_planes
;
//check the image array for validity
if
((
!
p_img
[
0
]))
//1st plane is 'I' i.e. greyscale
...
...
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