]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_crop.c
vsrc_buffer: FIx incompatible pointer type warning
[ffmpeg] / libavfilter / vf_crop.c
index fb084041abca5e59f26263759e3db318b9db74bf..9215b1e7001e4a65e45c450023726cc1fb038ad0 100644 (file)
@@ -33,9 +33,6 @@
 #include "libavutil/mathematics.h"
 
 static const char *var_names[] = {
-    "E",
-    "PHI",
-    "PI",
     "in_w", "iw",   ///< width  of the input video
     "in_h", "ih",   ///< height of the input video
     "out_w", "ow",  ///< width  of the cropped video
@@ -54,9 +51,6 @@ static const char *var_names[] = {
 };
 
 enum var_name {
-    VAR_E,
-    VAR_PHI,
-    VAR_PI,
     VAR_IN_W,  VAR_IW,
     VAR_IN_H,  VAR_IH,
     VAR_OUT_W, VAR_OW,
@@ -167,9 +161,6 @@ static int config_input(AVFilterLink *link)
     const char *expr;
     double res;
 
-    crop->var_values[VAR_E]     = M_E;
-    crop->var_values[VAR_PHI]   = M_PHI;
-    crop->var_values[VAR_PI]    = M_PI;
     crop->var_values[VAR_IN_W]  = crop->var_values[VAR_IW] = ctx->inputs[0]->w;
     crop->var_values[VAR_IN_H]  = crop->var_values[VAR_IH] = ctx->inputs[0]->h;
     crop->var_values[VAR_A]     = (float) link->w / link->h;