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
7a7cdf7d
Commit
7a7cdf7d
authored
Sep 07, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
video_filter: colorthres.c: check return value of GetPackedYuvOffsets()
Check return value of GetPackedYuvOffsets().
parent
3a702cef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
modules/video_filter/colorthres.c
modules/video_filter/colorthres.c
+8
-3
No files found.
modules/video_filter/colorthres.c
View file @
7a7cdf7d
...
@@ -287,9 +287,14 @@ static picture_t *FilterPacked( filter_t *p_filter, picture_t *p_pic )
...
@@ -287,9 +287,14 @@ static picture_t *FilterPacked( filter_t *p_filter, picture_t *p_pic )
return
NULL
;
return
NULL
;
}
}
int
i_y_offset
=
0
,
i_u_offset
=
0
,
i_v_offset
=
0
;
int
i_y_offset
,
i_u_offset
,
i_v_offset
;
GetPackedYuvOffsets
(
p_filter
->
fmt_in
.
video
.
i_chroma
,
int
i_ret
=
GetPackedYuvOffsets
(
p_filter
->
fmt_in
.
video
.
i_chroma
,
&
i_y_offset
,
&
i_u_offset
,
&
i_v_offset
);
&
i_y_offset
,
&
i_u_offset
,
&
i_v_offset
);
if
(
i_ret
==
VLC_EGENERIC
)
{
picture_Release
(
p_pic
);
return
NULL
;
}
/*
/*
* Copy Y and do the U and V planes
* Copy Y and do the U and V planes
...
...
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