summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2011-10-13 17:54:10 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-13 18:08:51 +0200
commit7d60b43e90f58b76022bb69679b5de2c726fd546 (patch)
tree1d1324bc3195fa7100ffc00b058e8c759408906a /libavfilter
parent21e888bd11cea01b01ca8ebf02c42b2db5a587af (diff)
downloadffmpeg-streaming-7d60b43e90f58b76022bb69679b5de2c726fd546.zip
ffmpeg-streaming-7d60b43e90f58b76022bb69679b5de2c726fd546.tar.gz
vsrc_nullsrc: 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/vsrc_nullsrc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavfilter/vsrc_nullsrc.c b/libavfilter/vsrc_nullsrc.c
index c513be8..b6d3567 100644
--- a/libavfilter/vsrc_nullsrc.c
+++ b/libavfilter/vsrc_nullsrc.c
@@ -28,17 +28,11 @@
#include "avfilter.h"
static const char *var_names[] = {
- "E",
- "PHI",
- "PI",
"AVTB", /* default timebase 1/AV_TIME_BASE */
NULL
};
enum var_name {
- VAR_E,
- VAR_PHI,
- VAR_PI,
VAR_AVTB,
VAR_VARS_NB
};
@@ -76,9 +70,6 @@ static int config_props(AVFilterLink *outlink)
int ret;
double res;
- priv->var_values[VAR_E] = M_E;
- priv->var_values[VAR_PHI] = M_PHI;
- priv->var_values[VAR_PI] = M_PI;
priv->var_values[VAR_AVTB] = av_q2d(AV_TIME_BASE_Q);
if ((ret = av_expr_parse_and_eval(&res, priv->tb_expr, var_names, priv->var_values,
OpenPOWER on IntegriCloud