avutil: move QP2LAMBDA constant to eval

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/79/head
Michael Niedermayer 10 years ago
parent 2c5c7f1089
commit 88efc013b1
  1. 1
      libavutil/eval.c
  2. 2
      libavutil/opt.c

@ -86,6 +86,7 @@ static const struct {
{ "E", M_E }, { "E", M_E },
{ "PI", M_PI }, { "PI", M_PI },
{ "PHI", M_PHI }, { "PHI", M_PHI },
{ "QP2LAMBDA", FF_QP2LAMBDA },
}; };
double av_strtod(const char *numstr, char **tail) double av_strtod(const char *numstr, char **tail)

@ -132,14 +132,12 @@ static int write_number(void *obj, const AVOption *o, void *dst, double num, int
static const double const_values[] = { static const double const_values[] = {
M_PI, M_PI,
M_E, M_E,
FF_QP2LAMBDA,
0 0
}; };
static const char * const const_names[] = { static const char * const const_names[] = {
"PI", "PI",
"E", "E",
"QP2LAMBDA",
0 0
}; };

Loading…
Cancel
Save