Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
3fa1290c
Commit
3fa1290c
authored
Apr 23, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OpenCV: array identifier cannot be NULL
parent
04509ed8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
modules/video_filter/opencv_wrapper.c
modules/video_filter/opencv_wrapper.c
+4
-6
No files found.
modules/video_filter/opencv_wrapper.c
View file @
3fa1290c
...
@@ -283,16 +283,14 @@ static void ReleaseImages( filter_t* p_filter )
...
@@ -283,16 +283,14 @@ static void ReleaseImages( filter_t* p_filter )
{
{
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
if
(
p_sys
->
p_cv_image
)
{
for
(
int
i
=
0
;
i
<
VOUT_MAX_PLANES
;
i
++
)
for
(
int
i
=
0
;
i
<
VOUT_MAX_PLANES
;
i
++
)
{
{
if
(
p_sys
->
p_cv_image
[
i
])
{
if
(
p_sys
->
p_cv_image
[
i
]
!=
NULL
)
{
cvReleaseImageHeader
(
&
(
p_sys
->
p_cv_image
[
i
]));
cvReleaseImageHeader
(
&
(
p_sys
->
p_cv_image
[
i
]));
p_sys
->
p_cv_image
[
i
]
=
NULL
;
p_sys
->
p_cv_image
[
i
]
=
NULL
;
}
}
}
}
}
p_sys
->
i_cv_image_size
=
0
;
p_sys
->
i_cv_image_size
=
0
;
/* Release temp picture_t if it exists */
/* Release temp picture_t if it exists */
...
...
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