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
948ef8a0
Commit
948ef8a0
authored
Oct 01, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Blend: Remove unuseful variable. CID 241
parent
a000b455
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/video_filter/blend.c
modules/video_filter/blend.c
+1
-2
No files found.
modules/video_filter/blend.c
View file @
948ef8a0
...
@@ -1390,7 +1390,6 @@ static void BlendRGBAYUVPacked( filter_t *p_filter,
...
@@ -1390,7 +1390,6 @@ static void BlendRGBAYUVPacked( filter_t *p_filter,
{
{
int
i_src_pitch
,
i_dst_pitch
,
i_src_pix_pitch
;
int
i_src_pitch
,
i_dst_pitch
,
i_src_pix_pitch
;
uint8_t
*
p_dst
,
*
p_src
;
uint8_t
*
p_dst
,
*
p_src
;
uint8_t
*
p_trans
;
int
i_x
,
i_y
,
i_pix_pitch
,
i_trans
;
int
i_x
,
i_y
,
i_pix_pitch
,
i_trans
;
bool
b_even
=
!
((
i_x_offset
+
p_filter
->
fmt_out
.
video
.
i_x_offset
)
%
2
);
bool
b_even
=
!
((
i_x_offset
+
p_filter
->
fmt_out
.
video
.
i_x_offset
)
%
2
);
int
i_l_offset
,
i_u_offset
,
i_v_offset
;
int
i_l_offset
,
i_u_offset
,
i_v_offset
;
...
@@ -1415,7 +1414,7 @@ static void BlendRGBAYUVPacked( filter_t *p_filter,
...
@@ -1415,7 +1414,7 @@ static void BlendRGBAYUVPacked( filter_t *p_filter,
i_width
&=
~
1
;
/* Needs to be a multiple of 2 */
i_width
&=
~
1
;
/* Needs to be a multiple of 2 */
/* Draw until we reach the bottom of the subtitle */
/* Draw until we reach the bottom of the subtitle */
for
(
i_y
=
0
;
i_y
<
i_height
;
i_y
++
,
p_trans
+=
i_src_pitch
,
for
(
i_y
=
0
;
i_y
<
i_height
;
i_y
++
,
p_dst
+=
i_dst_pitch
,
p_dst
+=
i_dst_pitch
,
p_src
+=
i_src_pitch
)
p_src
+=
i_src_pitch
)
{
{
...
...
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