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
3d9fc5c6
Commit
3d9fc5c6
authored
Nov 03, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_aspect: remove dupe constants setup
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
73e7d8f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
vf_aspect.c
libavfilter/vf_aspect.c
+0
-9
No files found.
libavfilter/vf_aspect.c
View file @
3d9fc5c6
...
@@ -37,9 +37,6 @@
...
@@ -37,9 +37,6 @@
#include "video.h"
#include "video.h"
static
const
char
*
const
var_names
[]
=
{
static
const
char
*
const
var_names
[]
=
{
"PI"
,
"PHI"
,
"E"
,
"w"
,
"w"
,
"h"
,
"h"
,
"a"
,
"dar"
,
"a"
,
"dar"
,
...
@@ -50,9 +47,6 @@ static const char *const var_names[] = {
...
@@ -50,9 +47,6 @@ static const char *const var_names[] = {
};
};
enum
var_name
{
enum
var_name
{
VAR_PI
,
VAR_PHI
,
VAR_E
,
VAR_W
,
VAR_W
,
VAR_H
,
VAR_H
,
VAR_A
,
VAR_DAR
,
VAR_A
,
VAR_DAR
,
...
@@ -124,9 +118,6 @@ static int get_aspect_ratio(AVFilterLink *inlink, AVRational *aspect_ratio)
...
@@ -124,9 +118,6 @@ static int get_aspect_ratio(AVFilterLink *inlink, AVRational *aspect_ratio)
double
var_values
[
VARS_NB
],
res
;
double
var_values
[
VARS_NB
],
res
;
int
ret
;
int
ret
;
var_values
[
VAR_PI
]
=
M_PI
;
var_values
[
VAR_PHI
]
=
M_PHI
;
var_values
[
VAR_E
]
=
M_E
;
var_values
[
VAR_W
]
=
inlink
->
w
;
var_values
[
VAR_W
]
=
inlink
->
w
;
var_values
[
VAR_H
]
=
inlink
->
h
;
var_values
[
VAR_H
]
=
inlink
->
h
;
var_values
[
VAR_A
]
=
(
double
)
inlink
->
w
/
inlink
->
h
;
var_values
[
VAR_A
]
=
(
double
)
inlink
->
w
/
inlink
->
h
;
...
...
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