summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2011-10-13 17:54:03 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-13 18:08:50 +0200
commit157ff97e3badcce811d40f9f5fbd0a67528e6b1b (patch)
tree598c85b1b23d5843a7d0f3c77000166c35a677ea /libavfilter
parenta2af90129597e0552bcadeb8421a6774dbf06c0b (diff)
downloadffmpeg-157ff97e3badcce811d40f9f5fbd0a67528e6b1b.tar.gz
vf_lut: remove mathematical constants now redundant.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_lut.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c
index 15f2c774f8..82003dff09 100644
--- a/libavfilter/vf_lut.c
+++ b/libavfilter/vf_lut.c
@@ -31,9 +31,6 @@
#include "internal.h"
static const char *var_names[] = {
- "E",
- "PHI",
- "PI",
"w", ///< width of the input video
"h", ///< height of the input video
"val", ///< input value for the pixel
@@ -45,9 +42,6 @@ static const char *var_names[] = {
};
enum var_name {
- VAR_E,
- VAR_PHI,
- VAR_PI,
VAR_W,
VAR_H,
VAR_VAL,
@@ -115,10 +109,6 @@ static int init(AVFilterContext *ctx, const char *args, void *opaque)
lut->class = &lut_class;
av_opt_set_defaults(lut);
- lut->var_values[VAR_PHI] = M_PHI;
- lut->var_values[VAR_PI] = M_PI;
- lut->var_values[VAR_E ] = M_E;
-
lut->is_rgb = !strcmp(ctx->filter->name, "lutrgb");
lut->is_yuv = !strcmp(ctx->filter->name, "lutyuv");
if (args && (ret = av_set_options_string(lut, args, "=", ":")) < 0)