Browse code

vf_overlay: remove mathematical constants now redundant.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Nicolas George authored on 2011/10/14 00:54:04
Showing 1 changed files
... ...
@@ -34,9 +34,6 @@
34 34
 #include "internal.h"
35 35
 
36 36
 static const char *var_names[] = {
37
-    "E",
38
-    "PHI",
39
-    "PI",
40 37
     "main_w",    "W", ///< width  of the main    video
41 38
     "main_h",    "H", ///< height of the main    video
42 39
     "overlay_w", "w", ///< width  of the overlay video
... ...
@@ -45,9 +42,6 @@ static const char *var_names[] = {
45 45
 };
46 46
 
47 47
 enum var_name {
48
-    VAR_E,
49
-    VAR_PHI,
50
-    VAR_PI,
51 48
     VAR_MAIN_W,    VAR_MW,
52 49
     VAR_MAIN_H,    VAR_MH,
53 50
     VAR_OVERLAY_W, VAR_OW,
... ...
@@ -126,10 +120,6 @@ static int config_input_overlay(AVFilterLink *inlink)
126 126
 
127 127
     /* Finish the configuration by evaluating the expressions
128 128
        now when both inputs are configured. */
129
-    var_values[VAR_E  ] = M_E;
130
-    var_values[VAR_PHI] = M_PHI;
131
-    var_values[VAR_PI ] = M_PI;
132
-
133 129
     var_values[VAR_MAIN_W   ] = var_values[VAR_MW] = ctx->inputs[MAIN   ]->w;
134 130
     var_values[VAR_MAIN_H   ] = var_values[VAR_MH] = ctx->inputs[MAIN   ]->h;
135 131
     var_values[VAR_OVERLAY_W] = var_values[VAR_OW] = ctx->inputs[OVERLAY]->w;