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
1c7c0c9f
Commit
1c7c0c9f
authored
Mar 03, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed mix up between pitches in magnify filter.
parent
6b8a408f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/video_filter/magnify.c
modules/video_filter/magnify.c
+1
-1
No files found.
modules/video_filter/magnify.c
View file @
1c7c0c9f
...
...
@@ -185,7 +185,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
const
int
o_yp
=
o_y
*
p_outpic
->
p
[
i_plane
].
i_lines
/
p_outpic
->
p
[
Y_PLANE
].
i_lines
;
const
int
o_xp
=
o_x
*
p_outpic
->
p
[
i_plane
].
i_pitch
/
p_outpic
->
p
[
Y_PLANE
].
i_pitch
;
crop
.
p
[
i_plane
].
p_pixels
+=
o_yp
*
p_
out
pic
->
p
[
i_plane
].
i_pitch
+
o_xp
;
crop
.
p
[
i_plane
].
p_pixels
+=
o_yp
*
p_pic
->
p
[
i_plane
].
i_pitch
+
o_xp
;
}
/* */
...
...
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