Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
6a8d0506
Commit
6a8d0506
authored
Apr 26, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/stereo3d: avoid division when changing aspect ratio
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
42d61fd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vf_stereo3d.c
libavfilter/vf_stereo3d.c
+4
-4
No files found.
libavfilter/vf_stereo3d.c
View file @
6a8d0506
...
...
@@ -349,25 +349,25 @@ static int config_output(AVFilterLink *outlink)
memcpy
(
s
->
ana_matrix
,
ana_coeff
[
s
->
out
.
format
],
sizeof
(
s
->
ana_matrix
));
break
;
case
SIDE_BY_SIDE_2_LR
:
aspect
.
num
/
=
2
;
aspect
.
den
*
=
2
;
case
SIDE_BY_SIDE_LR
:
s
->
out
.
width
=
s
->
width
*
2
;
s
->
out
.
off_right
=
s
->
width
;
break
;
case
SIDE_BY_SIDE_2_RL
:
aspect
.
num
/
=
2
;
aspect
.
den
*
=
2
;
case
SIDE_BY_SIDE_RL
:
s
->
out
.
width
=
s
->
width
*
2
;
s
->
out
.
off_left
=
s
->
width
;
break
;
case
ABOVE_BELOW_2_LR
:
aspect
.
den
/
=
2
;
aspect
.
num
*
=
2
;
case
ABOVE_BELOW_LR
:
s
->
out
.
height
=
s
->
height
*
2
;
s
->
out
.
row_right
=
s
->
height
;
break
;
case
ABOVE_BELOW_2_RL
:
aspect
.
den
/
=
2
;
aspect
.
num
*
=
2
;
case
ABOVE_BELOW_RL
:
s
->
out
.
height
=
s
->
height
*
2
;
s
->
out
.
row_left
=
s
->
height
;
...
...
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