diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-11-03 20:39:22 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-11-03 20:39:22 +0400 |
commit | 3d9fc5c6ad31634aaf0f1621ddaa0b83b49fcb36 (patch) | |
tree | 4f8baeb92df9eef52e638e47866782c180536ad9 /libavfilter | |
parent | 73e7d8f5f028bfb378a3cc09dd4d40732068a346 (diff) |
avfilter/vf_aspect: remove dupe constants setup
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_aspect.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libavfilter/vf_aspect.c b/libavfilter/vf_aspect.c index eaece16afe..97fb216923 100644 --- a/libavfilter/vf_aspect.c +++ b/libavfilter/vf_aspect.c @@ -37,9 +37,6 @@ #include "video.h" static const char *const var_names[] = { - "PI", - "PHI", - "E", "w", "h", "a", "dar", @@ -50,9 +47,6 @@ static const char *const var_names[] = { }; enum var_name { - VAR_PI, - VAR_PHI, - VAR_E, VAR_W, VAR_H, VAR_A, VAR_DAR, @@ -124,9 +118,6 @@ static int get_aspect_ratio(AVFilterLink *inlink, AVRational *aspect_ratio) double var_values[VARS_NB], res; 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_H] = inlink->h; var_values[VAR_A] = (double) inlink->w / inlink->h; |